Skip to main content

Detecting Apples in Orchards Using YOLOv3 and YOLOv5 in General and Close-Up Images

  • Conference paper
  • First Online:
Advances in Neural Networks – ISNN 2020 (ISNN 2020)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12557))

Included in the following conference series:

Abstract

A machine vision system for apple harvesting robot was developed based on the YOLOv3 and the YOLOv5 algorithms with special pre- and post-processing and the YOLOv3 equipped with special pre- and post-processing procedures is able to achieve an a share of undetected apples (FNR) at 9.2% in the whole set of images, 6,7% in general images, and 16,3% in close-up images. A share of objects mistaken for apples (FPR) was at 7.8%. The YOLOv5 can detect apples quite precisely without any additional techniques, showing FNR at 2.8% and FPR at 3.5%.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Similar content being viewed by others

References

  1. Bechar, A., Vigneault, C.: Agricultural robots for field operations: concepts and components. Biosyst. Eng. 149, 94–111 (2016)

    Article  Google Scholar 

  2. Sistler, F.E.: Robotics and intelligent machines in agriculture. IEEE J. Robot. Autom. 3(1), 3–6 (1987)

    Article  Google Scholar 

  3. Ceres, R., Pons, J., Jiménez, A., Martín, J., Calderón, L.: Design and implementation of an aided fruit-harvesting robot (Agribot). Ind. Robot 25(5), 337–346 (1998)

    Article  Google Scholar 

  4. Edan, Y., Han, S.F., Kondo, N.: Automation in agriculture. In: Nof, S. (ed.) Springer Handbook of Automation. SHB, pp. 1095–1128. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-540-78831-7_63

    Chapter  MATH  Google Scholar 

  5. Grift, T., Zhang, Q., Kondo, N., Ting, K.C.: A review of automation and robotics for the bio-industry. J. Biomech. Eng. 1(1), 37–54 (2008)

    Google Scholar 

  6. Bulanon, D.M., Burks, T.F., Alchanatis, V.: Image fusion of visible and thermal images for fruit detection. Biosyst. Eng. 103(1), 12–22 (2009)

    Article  Google Scholar 

  7. Mao, W.H., Ji, B.P., Zhan, J.C., Zhang, X.C., Hu, X.A.: Apple location method for the apple harvesting robot. In: Proceedings of the 2nd International Congress on Image and Signal Processing – CIPE 2009, Tianjin, China, 7–19 October 2009, pp. 17–19 (2009)

    Google Scholar 

  8. Bulanon, D.M., Kataoka, T.: A fruit detection system and an end effector for robotic harvesting of Fuji apples. Agric. Eng. Int. CIGR J. 12(1), 203–210 (2010)

    Google Scholar 

  9. Wei, X., Jia, K., Lan, J., Li, Y., Zeng, Y., Wang, C.: Automatic method of fruit object extraction under complex agricultural background for vision system of fruit picking robot. Optics 125(12), 5684–5689 (2014)

    Google Scholar 

  10. Whittaker, A.D., Miles, G.E., Mitchell, O.R.: Fruit location in a partially occluded image. Trans. Am. Soc. Agric. Eng. 30(3), 591–596 (1987)

    Article  Google Scholar 

  11. Xie, Z.Y., Zhang, T.Z., Zhao, J.Y.: Ripened strawberry recognition based on Hough transform. Trans. Chin. Soc. Agric. Mach. 38(3), 106–109 (2007)

    Google Scholar 

  12. Xie, Z., Ji, C., Guo, X., Zhu, S.: An object detection method for quasi-circular fruits based on improved Hough transform. Trans. Chin. Soc. Agric. Mach. 26(7), 157–162 (2010)

    Google Scholar 

  13. Kelman, E.E., Linker, R.: Vision-based localization of mature apples in tree images using convexity. Biosyst. Eng. 118(1), 174–185 (2014)

    Article  Google Scholar 

  14. Xie, Z., Ji, C., Guo, X., Zhu, S.: Detection and location algorithm for overlapped fruits based on concave spots searching. Trans. Chin. Soc. Agric. Mach. 42(12), 191–196 (2011)

    Google Scholar 

  15. Zhao, J., Tow, J., Katupitiya, J.: On-tree fruit recognition using texture properties and color data. In: IEEE/RSJ International Conference on Intelligent Robots and Systems, Edmonton, Canada, 2–6 August, 2005, pp. 263–268 (2005)

    Google Scholar 

  16. Rakun, J., Stajnko, D., Zazula, D.: Detecting fruits in natural scenes by using spatial-frequency based texture analysis and multiview geometry. Comput. Electron. Agric. 76(1), 80–88 (2011)

    Article  Google Scholar 

  17. Kurtulmus, F., Lee, W.S., Vardar, A.: Green citrus detection using ‘eigenfruit’, color and circular Gabor texture features under natural outdoor conditions. Comput. Electron. Agric. 78(2), 140–149 (2011)

    Article  Google Scholar 

  18. Kurtulmus, F., Lee, W.S., Vardar, A.: An advanced green citrus detection algorithm using color images and neural networks. J. Agric. Mach. Sci. 7(2), 145–151 (2011)

    Google Scholar 

  19. Parrish, E.A., Goksel, J.A.K.: Pictorial pattern recognition applied to fruit harvesting. Trans. Am. Soc. Agric. Eng. 20(5), 822–827 (1977)

    Article  Google Scholar 

  20. Sites, P.W., Delwiche, M.J.: Computer vision to locate fruit on a tree. Trans. Am. Soc. Agric. Eng. 31(1), 257–263 (1988)

    Article  Google Scholar 

  21. Bulanon, D.M., Kataoka, T., Okamoto, H., Hata, S.: Development of a real-time machine vision system for apple harvesting robot. In: Society of Instrument and Control Engineers Annual Conference, Sapporo, Japan, 4–6 August 2004, pp. 595–598 (2004)

    Google Scholar 

  22. Seng, W.C., Mirisaee, S.H.: A new method for fruits recognition system. In: Proceedings of the 2009 International Conference on Electrical Engineering and Informatics – ICEEI 2009, Selangor, Malaysia, 5–7 August, 2009, vol. 1, pp. 130–134 (2009)

    Google Scholar 

  23. Wachs, J.P., Stern, H.I., Burks, T., Alchanatis, V.: Low and high-level visual feature-based apple detection from multi-modal images. Precis. Agric. 11, 717–735 (2010). 10.1007/s11119-010-9198-x

    Article  Google Scholar 

  24. Tao, Y., Zhou, J.: Automatic apple recognition based on the fusion of color and 3D feature for robotic fruit picking. Comput. Electron. Agric. 142(A), 388–396 (2017)

    Article  Google Scholar 

  25. Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet classification with deep convolutional neural networks. In: Advances in Neural Information Processing Systems 25 – NIPS 2012, Harrahs and Harveys, Lake Tahoe, Canada, 3–8 December 2012, pp. 1–9 (2012)

    Google Scholar 

  26. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. In: International Conference on Learning Representations – ICLR 2015, San Diego, California, USA, 7–9 May 2015, pp. 1–14 (2015)

    Google Scholar 

  27. Williams, H.A.M., Jones, M.H., Nejati, M., Seabright, M.J., MacDonald, B.A.: Robotic kiwifruit harvesting using machine vision, convolutional neural networks, and robotic arms. Biosyst. Eng. 181, 140–156 (2019)

    Article  Google Scholar 

  28. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: You only look once: unified, real-time object detection. In: 29th IEEE Conference on Computer Vision and Pattern Recognition – CVPR 2016, Las Vegas, Nevada, USA, 26 June–1 July 2016, pp. 779–788 (2016)

    Google Scholar 

  29. Redmon, J., Divvala, S., Girshick, R., Farhadi, A.: YOLOv3: an incremental improvement. In: 31th IEEE Conference on Computer Vision and Pattern Recognition – CVPR 2018, Salt Lake City, Utah, USA, 18–22 June 2018, pp. 1–6 (2018)

    Google Scholar 

  30. Tian, Y., Yang, G., Wang, Z., Wang, H., Li, E., Liang, Z.: Apple detection during different growth stages in orchards using the improved YOLO-V3 model. Comput. Electron. Agric. 157, 417–426 (2019)

    Article  Google Scholar 

  31. Tian, Y., Yang, G., Wang, Zh., Li, E., Liang, Z.: Detection of apple lesions in orchards based on deep learning methods of CycleGAN and YOLO-V3-Dense. J. Sens. 1–14 (2019). Special issue: Sensors in Precision Agriculture for the Monitoring of Plant Development and Improvement of Food Production

    Google Scholar 

  32. Huang, G., Liu, Zh., van der Maaten, L., Weinberger, K.Q.: Densely connected convolutional networks. In: 30th IEEE Conference on Computer Vision and Pattern Recognition – CVPR 2017, Honolulu, Hawaii, USA, 22–25 July 2017, pp. 1–9 (2017)

    Google Scholar 

  33. Kang, H., Chen, C.: Fruit detection, segmentation and 3D visualization of environments in apple orchards. Comput. Electron. Agric. 171 (2020). Article no: 105302

    Google Scholar 

  34. Wan, S., Goudos, S.: Faster R-CNN for multi-class fruit detection using a robotic vision system. Comput. Netw. 168, 107036 (2020)

    Article  Google Scholar 

  35. Jocher, G., Nishimura, K., Mineeva, T., Vilariño, R.: YOLOv5 (2020). https://github.com/ultralytics/yolov5. Accessed 10 July 2020

  36. COCO: Common Objects in Context Dataset. http://cocodataset.org/#overview. Accessed 19 Apr 2020

  37. Kuznetsova, A., Maleva, T., Soloviev, V.: Detecting apples in orchards using YOLOv3. In: Gervasi, O., et al. (eds.) ICCSA 2020. LNCS, vol. 12249, pp. 923–934. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58799-4_66

    Chapter  Google Scholar 

  38. Kuznetsova, A., Maleva, T., Soloviev, V.: Using YOLOv3 algorithm with pre- and post-processing for apple detection in fruit-harvesting robot. Agronomy 10(7), 1016 (2020)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vladimir Soloviev .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kuznetsova, A., Maleva, T., Soloviev, V. (2020). Detecting Apples in Orchards Using YOLOv3 and YOLOv5 in General and Close-Up Images. In: Han, M., Qin, S., Zhang, N. (eds) Advances in Neural Networks – ISNN 2020. ISNN 2020. Lecture Notes in Computer Science(), vol 12557. Springer, Cham. https://doi.org/10.1007/978-3-030-64221-1_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-64221-1_20

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-64220-4

  • Online ISBN: 978-3-030-64221-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics