Research Article

Use of YOLOv5 Trained Model for Robotic Courgette Harvesting and Efficiency Analysis

Volume: 34 Number: 4 December 31, 2024
EN

Use of YOLOv5 Trained Model for Robotic Courgette Harvesting and Efficiency Analysis

Abstract

The utilization of machine learning in vegetable harvesting not only enhances efficiency and precision but also addresses labor shortages and improves overall agricultural productivity. In this study, a machine learning method was developed for harvesting courgette fruit. Courgette is a fruit that can take a long time to select and harvest in the agricultural area where it is grown. The YOLOv5 models (nano, small, medium, and large) were used as a deep learning method. All metric values of the models were analyzed. The most successful model was the one trained with the YOLOv5m algorithm using 20 batches and 160 epochs with 640x640 images. The results of the model scores were analyzed as "metrics/precision", "metrics/recall", "metrics/mAP_0.5" and "metrics/mAP_0.5: 0.95". These metrics are key indicators that measure the recognition success of a model and reflect the performance of the respective model on the validation dataset. The metrics data of the "YOLOv5 medium" model proved to be higher compared to the other models. The measured values were YOLOv5m = size: 640x640, batch: 20, epoch: 160, algorithm: YOLOv5m. It was concluded that "YOLOv5m" is the best recognition model that can be used in robotic courgette harvesting to separate the courgette from the branch.

Keywords

References

  1. Alam, M. S., Alam, M., Tufail, M., Khan, M. U., Güneş, A., Salah, B., Nasir, F. E., Saleem, W., & Khan, M. T. (2022). TobSet: A new tobacco crop and weeds image dataset and its utilization for vision-based spraying by agricultural robots. Applied Sciences, 12(3), 1308. https://doi.org/10.3390/app12031308
  2. Arad, B., Balendonck, J., Barth, R., Ben‐Shahar, O., Edan, Y., Hellström, T., Hemming, J., Kurtser, P., Ringdahl, O., & Tielen, T. (2020). Development of a sweet pepper harvesting robot. Journal of Field Robotics, 37(6), 1027-1039. https://doi.org/10.1002/rob.21937
  3. Atalay, M., & Çelik, E. (2017). Artificial intelligence and machine learning applications in big data analysis. Mehmet Akif Ersoy University Social Sciences Institute Journal, 9(22), 155-172. https://doi.org/https://doi.org/10.20875/makusobed.309727
  4. Altınbilek, H. F., & Kızıl, Ü. (2022). Identification of Paddy Rice Diseases Using Deep Convolutional Neural Networks. Yuzuncu Yıl University Journal of Agricultural Sciences, 32(4), 705-713. https://doi.org/10.29133/yyutbd.1140911
  5. Bai, W., Zhao, J., Dai, C., Zhang, H., Zhao, L., Ji, Z., & Ganchev, I. (2023). Two novel models for traffic sign detection based on YOLOv5s. Axioms, 12(2), 160. https://doi.org/10.3390/axioms12020160
  6. Barman, U., Das, D., Sonowal, G., Dutta, M. (2024). Innovative Approaches to Rice (Oryza sativa) Crop Health: A Comprehensive Analysis of Deep Transfer Learning for Early Disease Detection. Yuzuncu Yıl University Journal of Agricultural Sciences, 34(2), 314-322. https://doi.org/10.29133/yyutbd.1402821
  7. Bati, C. T., & Ser, G. (2023). Effects of Data Augmentation Methods on YOLO v5s: Application of Deep Learning with Pytorch for Individual Cattle Identification. Yuzuncu Yıl University Journal of Agricultural Sciences, 33(3), 363-376. https://doi.org/10.29133/yyutbd.1246901
  8. Chen, W., Lu, S., Liu, B., Chen, M., Li, G., & Qian, T. (2022). CitrusYOLO: A algorithm for citrus detection under orchard environment based on YOLOv4. Multimedia Tools and Applications, 81, 31363–31389.https://doi.org/10.1007/s11042-022-12687-5

Details

Primary Language

English

Subjects

Agricultural Automatization

Journal Section

Research Article

Early Pub Date

December 15, 2024

Publication Date

December 31, 2024

Submission Date

July 16, 2024

Acceptance Date

October 22, 2024

Published in Issue

Year 2024 Volume: 34 Number: 4

APA
Kahya, E. (2024). Use of YOLOv5 Trained Model for Robotic Courgette Harvesting and Efficiency Analysis. Yuzuncu Yıl University Journal of Agricultural Sciences, 34(4), 669-689. https://doi.org/10.29133/yyutbd.1517109
Creative Commons License
Yuzuncu Yil University Journal of Agricultural Sciences by Van Yuzuncu Yil University Faculty of Agriculture is licensed under a Creative Commons Attribution 4.0 International License.