[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

Pest Detection in Olive Groves Using YOLOv7 and YOLOv8 Models

  • Conference paper
  • First Online:
Optimization, Learning Algorithms and Applications (OL2A 2023)

Abstract

Modern agriculture faces important challenges for feeding a fast-growing planet’s population in a sustainable way. One of the most important challenges faced by agriculture is the increasing destruction caused by pests to important crops. It is very important to control and manage pests in order to reduce the losses they cause. However, pest detection and monitoring are very resources consuming tasks. The recent development of computer vision-based technology has made it possible to automatize pest detection efficiently.

In Mediterranean olive groves, the olive fly (Bactrocera oleae Rossi) is considered the key-pest of the crop. This paper presents olive fly detection using the lightweight YOLO-based model for versions 7 and 8, respectively, YOLOv7-tiny and YOLOv8n. The proposed object detection models were trained, validated, and tested using two different image datasets collected in various locations of Portugal and Greece. The images are constituted by sticky yellow trap photos and by McPhail trap photos with olive fly exemplars. The performance of the models was evaluated using precision, recall, and mAP.95. The YOLOV7-tiny model best performance is 88.3% of precision, 85% of Recall, 90% of mAP.50, and 53% of mAP.95. The YOLOV8n model best performance is 85% of precision, 85% of Recall, 90% mAP.50, and 55% of mAP.50 YOLO8n model achieved worst results than YOLOv7-tiny for a dataset without negative images (images without olive fly exemplars). Aiming at installing an experimental prototype in the olive grove, the YOLOv8n model was implemented in a Ubuntu Server 23.04 Raspberry PI 3 microcomputer.

The authors are grateful to the Foundation for Science and Technology (FCT, Portugal) for financial support through national funds FCT/MCTES (PIDDAC) to CIMO (UIDB/00690/2020 and UIDP/00690/2020) and SusTEC (LA/P/0007/2020).

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

Access this chapter

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 47.99
Price includes VAT (United Kingdom)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 59.99
Price includes VAT (United Kingdom)
  • 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

Similar content being viewed by others

Notes

  1. 1.

    https://www.farmsense.io/.

  2. 2.

    https://rapidaim.io/.

  3. 3.

    https://roboflow.com/.

References

  1. Ahmad, I., Yang, Y., Yue, Y., Ye, C., Hassan, M., Cheng, X., Yunzhi, W., Zhang, Y.: Deep learning based detector YOLOv5 for identifying insect pests. Appl. Sci. 12(19), 10167 (2022)

    Article  Google Scholar 

  2. Min Dai, Md., Dorjoy, M.H., Miao, H., Zhang, S.: A new pest detection method based on improved YOLOv5m. Insects 14(1), 54 (2023)

    Article  Google Scholar 

  3. Zhu, D., et al.: Knowledge graph and deep learning based pest detection and identification system for fruit quality. Internet Things 21, 100649 (2023)

    Google Scholar 

  4. Nithin Kumar, N., Flammini, F.: YOLO-based light-weight deep learning models for insect detection system with field adaption. Agriculture 13(3), 741 (2023)

    Google Scholar 

  5. Zhang, S., Chi, C., Yao, Y., Lei, Z., Li, S.Z.: Bridging the gap between anchor-based and anchor-free detection via adaptive training sample selection. In: 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, June 2020

    Google Scholar 

  6. Li, B., Chen, Y., Xu, H., Zhong, F.: Fast vehicle detection algorithm based on lightweight yolo7-tiny (2023)

    Google Scholar 

  7. Pereira, J.A.: Yellow sticky traps dataset olive fly (Bactrocera Oleae) (2023)

    Google Scholar 

  8. Kalamatianos, R., Karydis, I., Doukakis, D., Avlonitis, M.: DIRT: the dacus image recognition toolkit. J. Imaging 4(11), 129 (2018)

    Article  Google Scholar 

  9. (Ard) Nieuwenhuizen, A.T., et al.: Raw data from yellow sticky traps with insects for training of deep learning convolutional neural network for object detection (2019)

    Google Scholar 

  10. Lou, H., et al.: DC-YOLOv8: small size object detection algorithm based on camera sensor, April 2023

    Google Scholar 

  11. Tatar, N., Saadatseresht, M., Arefi, H., Hadavand, A.: A new object-based framework to detect shodows in high-resolution satellite imagery over urban areas. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, XL-1/W5:713–717, December 2015

    Google Scholar 

  12. Belde, S.: Noise removal in images using deep learning models, April 2021

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Adília Alves .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

Alves, A., Pereira, J., Khanal, S., Morais, A.J., Filipe, V. (2024). Pest Detection in Olive Groves Using YOLOv7 and YOLOv8 Models. In: Pereira, A.I., Mendes, A., Fernandes, F.P., Pacheco, M.F., Coelho, J.P., Lima, J. (eds) Optimization, Learning Algorithms and Applications. OL2A 2023. Communications in Computer and Information Science, vol 1982 . Springer, Cham. https://doi.org/10.1007/978-3-031-53036-4_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-53036-4_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-53035-7

  • Online ISBN: 978-3-031-53036-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics