Jimin Lee, Helin Yin, Dong Jin, Subin Park, Ri Zheng, Yeong Hyeon Gu
{"title":"PestDetectSim: an integrated approach for crop pest diagnosis using object detection and similarity-based image retrieval.","authors":"Jimin Lee, Helin Yin, Dong Jin, Subin Park, Ri Zheng, Yeong Hyeon Gu","doi":"10.1186/s13007-026-01520-x","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Rapid and accurate pest diagnosis is essential for reducing crop losses and improving agricultural productivity. Most existing methods rely on deep learning-based object detection to classify pests into predefined categories. However, these models typically select the highest-probability class, which can lead to misclassification and limit practical usability due to the lack of user verification or intervention. Therefore, a framework that integrates model-based prediction with user-assisted validation is needed to enhance diagnostic reliability in real-world agricultural environments.</p><p><strong>Results: </strong>We propose PestDetectSim, an integrated framework that combines object detection with similarity-based image retrieval. In PestDetectSim, pest objects are first detected using the YOLO v8 model, and detected regions are processed through a backbone network augmented with a Squeeze-and-Excitation (SE-Net) module to extract feature vectors. These feature vectors are then used to retrieve visually similar pest images, enabling users to cross-check and refine the diagnosis. PestDetectSim produces two outputs: object detection results and a ranked list of similar reference images. We evaluated the framework using a real-world field dataset comprising 30 pest species. On a real-world field dataset of 30 pest species, PestDetectSim attains 98.82% end-to-end diagnostic accuracy while providing case-based visual evidence via retrieved similar images, enabling user verification in ambiguous cases. The end-to-end inference time is approximately 60 ms per image, including both detection and retrieval. This value represents the overall performance of the full pipeline, which integrates the detection stage with the similarity based retrieval stage, making the system suitable for real time deployment on resource limited devices.</p><p><strong>Conclusions: </strong>PestDetectSim integrates automated detection with user-assisted verification, offering practical reliability through case-based visual evidence, with modest accuracy gains complemented by improved interpretability. Furthermore, a prototype smartphone application was developed to validate its practicality in real-world conditions. This application allows users to capture pest images, receive instant detection results, and review retrieved similar images for verification. These findings demonstrate PestDetectSim's potential as a reliable and interactive diagnostic tool for real-time pest monitoring and sustainable agricultural management.</p>","PeriodicalId":20100,"journal":{"name":"Plant Methods","volume":" ","pages":""},"PeriodicalIF":5.2000,"publicationDate":"2026-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13122962/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Plant Methods","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1186/s13007-026-01520-x","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Rapid and accurate pest diagnosis is essential for reducing crop losses and improving agricultural productivity. Most existing methods rely on deep learning-based object detection to classify pests into predefined categories. However, these models typically select the highest-probability class, which can lead to misclassification and limit practical usability due to the lack of user verification or intervention. Therefore, a framework that integrates model-based prediction with user-assisted validation is needed to enhance diagnostic reliability in real-world agricultural environments.
Results: We propose PestDetectSim, an integrated framework that combines object detection with similarity-based image retrieval. In PestDetectSim, pest objects are first detected using the YOLO v8 model, and detected regions are processed through a backbone network augmented with a Squeeze-and-Excitation (SE-Net) module to extract feature vectors. These feature vectors are then used to retrieve visually similar pest images, enabling users to cross-check and refine the diagnosis. PestDetectSim produces two outputs: object detection results and a ranked list of similar reference images. We evaluated the framework using a real-world field dataset comprising 30 pest species. On a real-world field dataset of 30 pest species, PestDetectSim attains 98.82% end-to-end diagnostic accuracy while providing case-based visual evidence via retrieved similar images, enabling user verification in ambiguous cases. The end-to-end inference time is approximately 60 ms per image, including both detection and retrieval. This value represents the overall performance of the full pipeline, which integrates the detection stage with the similarity based retrieval stage, making the system suitable for real time deployment on resource limited devices.
Conclusions: PestDetectSim integrates automated detection with user-assisted verification, offering practical reliability through case-based visual evidence, with modest accuracy gains complemented by improved interpretability. Furthermore, a prototype smartphone application was developed to validate its practicality in real-world conditions. This application allows users to capture pest images, receive instant detection results, and review retrieved similar images for verification. These findings demonstrate PestDetectSim's potential as a reliable and interactive diagnostic tool for real-time pest monitoring and sustainable agricultural management.
期刊介绍:
Plant Methods is an open access, peer-reviewed, online journal for the plant research community that encompasses all aspects of technological innovation in the plant sciences.
There is no doubt that we have entered an exciting new era in plant biology. The completion of the Arabidopsis genome sequence, and the rapid progress being made in other plant genomics projects are providing unparalleled opportunities for progress in all areas of plant science. Nevertheless, enormous challenges lie ahead if we are to understand the function of every gene in the genome, and how the individual parts work together to make the whole organism. Achieving these goals will require an unprecedented collaborative effort, combining high-throughput, system-wide technologies with more focused approaches that integrate traditional disciplines such as cell biology, biochemistry and molecular genetics.
Technological innovation is probably the most important catalyst for progress in any scientific discipline. Plant Methods’ goal is to stimulate the development and adoption of new and improved techniques and research tools and, where appropriate, to promote consistency of methodologies for better integration of data from different laboratories.