This invention relates to a zero-shot
Oncomelania snail identification method and
system based on a structured
knowledge base and attention guidance, belonging to the field of
image processing technology. The method includes: acquiring original images of
Oncomelania snails; generating an attention map using a pre-trained model to locate and
crop discriminative regions; constructing a structured
Oncomelania snail knowledge base and guiding a large
language model to generate fine-grained text descriptions; extracting image and text features separately, calculating region weights and text weights; and determining the
snail species through weighted image-text
similarity matching. This invention achieves zero-shot identification without annotating image data, effectively suppresses interference from complex backgrounds, significantly reduces data and
annotation costs, and improves identification efficiency and robustness, making it suitable for low-cost Oncomelania snail monitoring in field environments.