Skip to main content

Implementation of YOLOv7 for Pest Detection

  • Conference paper
  • First Online:
Applied Machine Learning and Data Analytics (AMLDA 2022)

Abstract

Pests have been known to destroy the yield of the crops, that would soak the nutritional value of the crops. Not only this, but some of the pests can also act as carriers to various diseases that are caused due to the transmutable nature of such bacteria. The most popular pest management technique is pesticide spraying because of how quickly it works and how easily it can be scaled up. Less pesticide use is necessary now, though, as environmental and health awareness grows. Also, existing pest visual segmentation methods are bounding, less effective and time-exhausting, which originates complexity in their marketing and use. Deep learning algorithms have come to be the major techniques to deal with the technological issues linked to pest detection. In this paper, we propose a method for pest detection using a prolific deep learning technique using the newest technology YOLOv7 model. It helps detect which type of pest it is, and if it is a pest that can cause damage, thus by allowing the person to get alert and take appropriate steps. The recommended YOLOv7 model attained the peak accuracy of 93.3% for 50 epochs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Liu, L., et al.: PestNet: an end-to-end deep learning approach for large-scale multi-class pest detection and classification. IEEE Access 7, 45301–45312 (2019)

    Article  Google Scholar 

  2. Liu, J., et al.: Plant diseases and pests detection based on deep learning: a review. Plant Methods 17, 22 (2021)

    Article  Google Scholar 

  3. Selvaraj, M.G., Vergara, A., Ruiz, H., et al.: AI-powered banana diseases and pest detection. Plant Methods 15, 92 (2019)

    Article  Google Scholar 

  4. Wang, C.Y., et al.: YOLOv7: trainable bag-of-freebies sets new state-of-the-art for real-time object detectors, arXiv preprint (2022)

    Google Scholar 

  5. Dong, S., Zhang, J., Wang, F., Wang, X.: YOLO-pest: a real-time multi-class crop pest detection model. In: International Conference on Computer Application and Information Security 12260 (2022)

    Google Scholar 

  6. Roy, A.M., Bhaduri, J.: A deep learning enabled multi-class plant disease detection model based on computer vision. AI 2(3), 413–428 (2021)

    Google Scholar 

  7. Önler, E.: Real time pest detection using YOLOv5. Int. J. Agric. Nat. Sci. 14(3), 232–246 (2021)

    Google Scholar 

  8. Zhao, S., et al.: Crop pest recognition in real agricultural environment using convolutional neural networks by a parallel attention mechanism. Frontiers Plant Sci. 13, 839572 (2022)

    Google Scholar 

  9. Zhang, Y., et al.: Identification of navel orange diseases and pests based on the fusion of densenet and self-attention mechanism. Comput. Intell. Neurosci., 1–12 (2021)

    Google Scholar 

  10. Sachan, R., et al.: Paddy leaf disease detection using thermal images and convolutional neural networks. In: International Conference on Computational Intelligence and Sustainable Engineering Solutions (CISES), pp. 471–476 (2022)

    Google Scholar 

  11. Yogesh, et al.: Deep learning based automated fruit nutrients deficiency recognition system. J. Inf. Sci. Eng. 37(5), 1153–1164 (2021)

    Google Scholar 

  12. Nagar, H., et al.: A comprehensive survey on pest detection techniques using image processing. In: 4th International Conference on Intelligent Computing and Control Systems (ICICCS), pp. 43–48 (2020)

    Google Scholar 

  13. Wu, X., Zhan, C., Lai, Y.-K., Cheng, M.-M., Yang, J.: IP102: a large-scale benchmark dataset for insect pest recognition. In: 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2019)

    Google Scholar 

  14. Domingues, T., Brandão, T., et al.: Machine learning for detection and prediction of crop diseases and pests: a comprehensive survey. Agriculture 12, 1350 (2022)

    Article  Google Scholar 

  15. Li, W., et al.: Recommending advanced deep learning models for efficient insect pest detection. Agriculture 12, 1065 (2022)

    Article  Google Scholar 

  16. Hussain, A., Barua, B., Osman, A., Abozariba, R., Asyhari, A.T.: Low latency and non-intrusive accurate object detection in forests. In: 2021 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 1–6 (2021)

    Google Scholar 

  17. Wang, C.-Y., Bochkovskiy, A., Liao, H.-Y.M.: YOLOv7: trainable bag-of-freebies sets new state-of-the-art for real-time object detectors, arXiv preprint arXiv:2207.02696 (2022)

  18. Ahmad, I., et al.: Deep learning based detector YOLOv5 for identifying insect pests. Appl. Sci. 12, 10167 (2022)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ashwani Kumar Dubey .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nayar, P., Chhibber, S., Dubey, A.K. (2023). Implementation of YOLOv7 for Pest Detection. In: Jabbar, M.A., Ortiz-Rodríguez, F., Tiwari, S., Siarry, P. (eds) Applied Machine Learning and Data Analytics. AMLDA 2022. Communications in Computer and Information Science, vol 1818. Springer, Cham. https://doi.org/10.1007/978-3-031-34222-6_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-34222-6_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-34221-9

  • Online ISBN: 978-3-031-34222-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics