Article Details

Title · Authors · Abstract · Keywords · DOI · References

A Review of for Agricultural Pest Counting Methods Based on Object Detection

XIONG Shun, ZHOU Rui, SHI Lian, DENG Tao, LI Donghui

(College of Information and Intelligence, Hunan Agricultural University, Changsha 410128, China)

Section:Artificial Intelligence · Vol. 2026, Issue 4 · Pages:60-66,72 · 2096-4706(2026)04-0060-08 · CLC number:TP391.4 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2026.04.011

Abstract

With the development of smart agriculture, Computer Vision methods powered by Deep Learning have been widely applied to agricultural pest detection and counting. This paper reviews recent advances in Object Detection for this field, and compares the differences between single-stage detectors (YOLO series, SSD) and two-stage detectors (Faster R-CNN) in terms of precision, speed, and deployment. Representative improvement strategies and their performance on datasets such as AgriPest, IP102, PestImgData, and Pest24 are discussed. In addition, commonly used evaluation metrics (mAP, Precision, Recall, MAE, RMSE, R2) and their applicability to detection and counting tasks are summarized. The current challenges, including small object density, complex backgrounds, data imbalance, and edge deployment, are also concluded. Finally, future directions such as multimodal and spatiotemporal modeling, generative model-based data augmentation, unified evaluation frameworks, and lightweight optimization are proposed, providing a reference for intelligent agricultural monitoring research and applications.

Keywords

agricultural pest; Object Detection; counting; Deep Learning; dataset; evaluation metrics

References

  1. [1] VISHNOI V K,KUMAR K,KUMAR B,et al. Detection of Apple Plant Diseases Using Leaf Images through Convolutional Neural Network [J].IEEE Access,2022,11:6594-6609.
  2. [2] XIA C L,CHON T-S,REN Z M,et al. Automatic Identification and Counting of Small Size Pests in Greenhouse Conditions with Low Computational Cost [J].Ecological Informatics,2015,29:139-146.
  3. [3] YAO Q,LYU J,YANG B J,et al. Progress in Research on Digital Image Processing Technology for Automatic Insect Identification and Counting [J].Scientia Agricultura Sinica,2011,44(14):2886-2899.
  4. [4] Jia Shaopeng, Gao Hongju, Hang Xiao Research progress on image recognition technology of crop pests and diseases based on deep learning [J]. Journal of Agricultural Machinery, 2019, 50 (S1): 313-317
  5. [5] TERVEN J,CÓRDOVA-ESPARZA D M,ROMERO-GONZÁLEZ J-A. A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS [J].Machine Learning and Knowledge Extraction,2023,5(4):1680-1716.
  6. [6] CHEN J,FAN Y Y,WANG T,et al. Automatic Segmentation and Counting of Aphid Nymphs on Leaves Using Convolutional Neural Networks [J/OL].Agronomy,2018,8(8):129(2018-07-13)[2025-06-16].https://doi.org/10.3390/agronomy8080129.
  7. [7] BERECIARTUA-PÉREZ A,GÓMEZ L,PICÓN A,et al. Insect Counting through Deep Learning-based Density Maps Estimation [J/OL].Computers and Electronics in Agriculture,2022,197:106933[2025-06-14].https://doi.org/10.1016/j.compag.2022.106933.
  8. [8] HU H Y,SU C,YU P. Research on Pest and Disease Recognition Algorithms Based on Convolutional Neural Network [C]//2019 International Conference on Virtual Reality and Intelligent Systems (ICVRIS).Jishou:IEEE,2019:166-168.
  9. [9] Dai Pengfei, Zou Jingshan, Yangliu, etc Research on UAV bridge deck disease detection algorithm based on YOLOv5 [J]. Modern Electronic Technology, 2025, 48 (16): 7-12
  10. [10] She Jinhui Research on Real time Detection and Quantity Statistics of Orchard Pests by Integrating Optical Flow Method and Deep Learning Algorithm [D]. Jingzhou: Changjiang University, 2023
  11. [11] LIU J,WANG X. Tomato Diseases and Pests Detection Based on Improved YOLO V3 Convolutional Neural Network [J/OL].Frontiers in Plant Science,2020,11:898[2025-06-15].https://doi.org/10.3389/fpls.2020.00898.
  12. [12] Chen Meixiang, Yang Xinting, Shi Baocai, etc Research progress and prospects of automatic identification and counting technology for pests [J]. Journal of Environmental Entomology, 2015, 37 (1): 176-183
  13. [13] KANG H W,ZHOU H Y,WANG X,et al. Real-time Fruit Recognition and Grasping Estimation for Robotic Apple Harvesting [J/OL].Sensors,2020,20(19):5670[2025-06-15].https://doi.org/10.3390/s20195670.
  14. [14] Guo Tinghang, Li Xiaohan, Zhang Rui, etc CoppeliaSim YOLOv8 Object Detection Simulation for Robot Perception [J]. Software, 2025, 46 (7): 19-24
  15. [15] Sun Shanshan Research on Insect Image Object Detection Method in Complex Background Based on Deep Learning [D]. Changchun: Changchun University of Technology, 2025
  16. [16] Yao Qing, Lv Jun, Yang Baojun, etc Research progress on image-based insect automatic recognition and counting [J]. Chinese Journal of Agricultural Sciences, 2011, 44 (14): 2886-2899
  17. [17] REDMON J,DIVVALA S,GIRSHICK R,et al. You Only Look Once: Unified, Real-time Object Detection [C]//2016 IEEE Conference on Computer Vision and Pattern Recognition(CVPR).Las Vegas:IEEE,2016:779-788.
  18. [18] LAW H,DENG J. CornerNet: Detecting Objects as Paired Keypoints [J].International Journal of Computer Vision,2020,128(3):642-656.
  19. [19] Fang Shuai, Shen Yue, Long Qiang, etc A review of bird detection technology based on YOLO algorithm [J]. Agriculture and Technology, 2025, 45 (3): 56-62
  20. [20] REDMON J,FARHADI A. YOLOv3: An Incremental Improvement [J/OL].arXiv:1804.02767 [cs.CV].(2018-04-08).https://arxiv.org/abs/1804.02767.
  21. [21] BOCHKOVSKIY A,WANG C-Y,LIAO H-Y M. YOLOv4: Optimal Speed and Accuracy of Object Detection [J/OL].arXiv:2004.10934 [cs.CV].(2020-04-23).https://arxiv.org/abs/2004.10934.
  22. [22] Jiang Xinlu, Chen Tian'en, Wang Cong, etc Small object detection algorithm for agricultural pest images in field environments [J]. Computer Engineering, 2024, 50 (1): 232-241
  23. [23] VARGHESE R,SAMBATH M. YOLOv8: A Novel Object Detection Algorithm With Enhanced Performance and Robustness [C]//2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS).Chennai:IEEE,2024:1-6.
  24. [24] PANG H T,ZHANG Y T,CAI W M,et al. A Real-time Object Detection Model for Orchard Pests Based on Improved YOLOv4 Algorithm [J/OL].Scientific Reports,2022,12(1):13557[2025-06-15].https://pubmed.ncbi.nlm.nih.gov/35941200/.
  25. [25] ZHONG Y H,GAO J Y,LEI Q L,et al. A Vision-based Counting and Recognition System for Flying Insects in Intelligent Agriculture [J/OL].Sensors,2018,18(5):1489(2018-05-09)[2025-07-03].https://doi.org/10.3390/s18051489.
  26. [26] FOTOUHI F,MENKE K,PRESTHOLT A,et al. Persistent Monitoring of Insect-pests on Sticky Traps through Hierarchical Transfer Learning and Slicing-aided Hyper Inference [J/OL].Frontiers in Plant Science,2024,15:1484587(2024-11-22)[2025-06-20].https://doi.org/10.3389/fpls.2024.1484587.
  27. [27] LIU W,ANGUELOV D,ERHAN D,et al. SSD: Single Shot MultiBox Detector [C]//Computer Vision-ECCV 2016:14th European Conference.Amsterdam:Springer International Publishing,2016:21-37.
  28. [28] JEONG J,PARK H,KWAK N. Enhancement of SSD by Concatenating Feature Maps for Object Detection [J/OL].arXiv:1705.09587 [cs.CV].(2017-05-26).https://arxiv.org/abs/1705.09587.
  29. [29] WANG L H,SHI W P,TANG Y H,et al. Transfer Learning-based Lightweight SSD Model for Detection of Pests in Citrus [J/OL].Agronomy,2023,13(7):1710(2023-06-26)[2025-06-16].https://doi.org/10.3390/agronomy13071710.
  30. [30] LYU Z W,JIN H F,ZHEN T,et al. Small Object Recognition Algorithm of Grain Pests Based on SSD Feature Fusion [J].IEEE Access,2021,9:43202-43213.
  31. [31] REN S Q,HE K M,GIRSHICK R,et al. Faster R-CNN: Towards Real-time Object Detection with Region Proposal Networks [J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2017,39(6):1137-1149.
  32. Jiang Sheng, Cao Yapeng, Liu Ziyi, etc Identification of tea leaf diseases based on improved Faster RCNN [J]. Journal of Huazhong Agricultural University, 2024, 43 (5): 41-50
  33. [33] Wang Ning, Zhi Min A review of single-stage universal object detection algorithms under deep learning [J]. Computer Science and Exploration, 2025, 19 (5): 1115-1140
  34. Xiao Deqin, Huang Yigui, Zhang Yuanqin, etc Field yellow board pest detection algorithm based on improved Faster R-CNN [J]. Journal of Agricultural Machinery, 2021, 52 (6): 242-251
  35. [35] SIMONYAN K,ZISSERMAN A. Very Deep Convolutional Networks for Large-scale Image Recognition [J/OL].arXiv:1409.1556 [cs.CV].(2014-09-04).https://arxiv.org/abs/1409.1556.
  36. [36] HONG S-J,NAM I,KIM S-Y,et al. Automatic Pest Counting from Pheromone Trap Images Using Deep Learning Object Detectors for Matsucoccus Thunbergianae Monitoring [J/OL].Insects,2021,12(4):342(2021-04-12)[2025-06-16].https://doi.org/10.3390/insects12040342.
  37. [37] LI W Y,WANG D J,LI M,et al. Field Detection of Tiny Pests from Sticky Trap Images Using Deep Learning in Agricultural Greenhouse [J/OL].Computers and Electronics in Agriculture,2021,183:106048[2025-07-10].https://doi.org/10.1016/j.compag.2021.106048.
  38. [38] Huang Chenglong, Zhang Zhongfu, Hua Xiangdong, etc Cotton boll tracking and counting based on improved Faster R-CNN and Deep Sort [J]. Journal of Agricultural Machinery, 2023, 54 (6): 205-213
  39. [39] WANG R J,LIU L,XIE C J,et al. AgriPest: A Large-scale Domain-specific Benchmark Dataset for Practical Agricultural Pest Detection in the Wild [J/OL].Sensors,2021,21(5):1601(2021-02-25)[2025-05-16].https://doi.org/10.3390/s21051601.
  40. [40] WU X,ZHAN C,LAI Y K,et al. IP102: A Large-scale Benchmark Dataset for Insect Pest Recognition [C]//2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).Long Beach:IEEE,2019:8779-8788.
  41. [41] WANG Q-J,ZHANG S-Y,DONG S-F,et al. Pest24: A Large-scale very Small Object Data Set of Agricultural Pests for Multi-target Detection [J/OL].Computers and Electronics in Agriculture,2020,175:105585[2025-06-21].https://doi.org/10.1016/j.compag.2020.105585.
  42. [42] ZAIDI S S A,ANSARI M S,ASLAM A,et al. A Survey of Modern Deep Learning Based Object Detection Models [J/OL].arXiv:2104.11892 [cs.CV].(2021-04-24).https://arxiv.org/abs/2104.11892.
  43. [43] EVERINGHAM M,GOOL L V,WILLIAMS C K I,et al. The PASCAL Visual Object Classes (VOC) Challenge [J].International Journal of Computer Vision,2010,88(2):303-338.
  44. [44] BELL S,ZITNICK C L,BALA K,et al. Inside-outside Net: Detecting Objects in Context with Skip Pooling and Recurrent Neural Networks [C]//2016 IEEE Conference on Computer Vision and Pattern Recognition(CVPR).Las Vegas:IEEE,2016:2874-2883.
  45. [45] RUSSAKOVSKY O,DENG J,SU H,et al. ImageNet Large Scale Visual Recognition Challenge [J].International Journal of Computer Vision,2015,115(3):211-252.
  46. [46] HOIEM D,CHODPATHUMWAN Y,DAI Q. Diagnosing Error in Object Detectors [C]//Computer Vision-ECCV 2012:12th European Conference on Computer Vision.Florence:Springer Nature Link,2012:340-353.

Funding

Youth Project of National Social Science Fund of China (CIA240281); Research Project of Hunan Provincial Department of Education (24B0226)

About the authors

Xiong Shun (2000-), male, Han ethnicity, from Yiyang, Hunan, currently pursuing a master's degree in computer vision and agricultural information technology; Zhou Rui (2003-), male, Han ethnicity, from Shaoyang, Hunan, is currently pursuing a master's degree in computer vision and image processing; Deng Tao (2001-), male, Han ethnicity, from Yongzhou, Hunan, currently pursuing a master's degree in computer science and technology, bioinformatics; Corresponding author: Li Donghui (1973-), male, Han ethnicity, born in Shaoyang, Hunan, associate professor, PhD, research direction: software engineering, artificial intelligence, agricultural information technology, and bioinformatics technology.