UAV-Based Computer Vision Approach for Melon Fruit Detection and Yield Estimation
Abstract
1. Introduction
2. Materials and Methods
2.1. Study Area
2.2. Dataset Acquisition
2.3. Data Processing
2.4. Object Detection
2.4.1. Fruit Counting
2.4.2. Geometrical Feature Extraction
- Segmentation
- Contour extraction and ellipse fitting
- Geometry and volume
- Quality control and fallback
2.5. Object Detection Model Evaluation Metrics
2.6. Validation of the Yield Estimation
3. Results and Discussion
3.1. Model Training Results
3.2. Estimated Fruit Weight
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Guebsi, R.; Mami, S.; Chokmani, K. Drones in precision agriculture: A comprehensive review of applications, technologies, and challenges. Drones 2024, 8, 686. [Google Scholar] [CrossRef]
- Liu, Y.; Fan, K.; Meng, L.; Nie, C.; Liu, Y.; Cheng, M.; Song, Y.; Jin, X. Synergistic use of stay-green traits and UAV multispectral information in improving maize yield estimation with the random forest regression algorithm. Comput. Electron. Agric. 2025, 229, 109724. [Google Scholar] [CrossRef]
- Aboutalebi, M.; Torres-Rua, A.F.; Allen, N. Multispectral remote sensing for yield estimation using high-resolution imagery from an unmanned aerial vehicle. In Autonomous Air and Ground Sensing Systems for Agricultural Optimization and Phenotyping III; SPIE: Washington, DC, USA, 2018; pp. 140–149. [Google Scholar]
- Cheng, H.; Damerow, L.; Sun, Y.; Blanke, M. Early yield prediction using image analysis of apple fruit and tree canopy features with neural networks. J. Imaging 2017, 3, 6. [Google Scholar] [CrossRef]
- Patel, H.N.; Jain, R.K.; Joshi, M.V. Automatic segmentation and yield measurement of fruit using shape analysis. Int. J. Comput. Appl. 2012, 45, 19–24. [Google Scholar]
- He, L.; Fang, W.; Zhao, G.; Wu, Z.; Fu, L.; Li, R.; Majeed, Y.; Dhupia, J. Fruit yield prediction and estimation in orchards: A state-of-the-art comprehensive review for both direct and indirect methods. Comput. Electron. Agric. 2022, 195, 106812. [Google Scholar] [CrossRef]
- Ariante, G.; Del Core, G. Unmanned aircraft systems (UASs): Current state, emerging technologies, and future trends. Drones 2025, 9, 59. [Google Scholar] [CrossRef]
- Carrio, A.; Sampedro, C.; Rodriguez-Ramos, A.; Campoy, P. A review of deep learning methods and applications for unmanned aerial vehicles. J. Sens. 2017, 2017, 3296874. [Google Scholar] [CrossRef]
- Guo, Y.; Liu, Y.; Oerlemans, A.; Lao, S.; Wu, S.; Lew, M.S. Deep learning for visual understanding: A review. Neurocomputing 2016, 187, 27–48. [Google Scholar] [CrossRef]
- Kapach, K.; Barnea, E.; Mairon, R.; Edan, Y.; Ben Shahar, O. Computer vision for fruit harvesting robots–state of the art and challenges ahead. Int. J. Comput. Vis. Robot. 2012, 3, 4–34. [Google Scholar] [CrossRef]
- Pereira, C.S.; Morais, R.; Reis, M.J.C.S. Recent advances in image processing techniques for automated harvesting purposes: A review. In 2017 Intelligent Systems Conference (IntelliSys); IEEE: New York, NY, USA, 2017; pp. 566–575. [Google Scholar]
- Patrício, D.I.; Rieder, R. Computer vision and artificial intelligence in precision agriculture for grain crops: A systematic review. Comput. Electron. Agric. 2018, 153, 69–81. [Google Scholar] [CrossRef]
- Lee, Y.-J.; Kim, K.-D.; Lee, H.-S.; Shin, B.-S. Vision-based potato detection and counting system for yield monitoring. J. Biosyst. Eng. 2018, 43, 103–109. [Google Scholar]
- Boatswain Jacques, A.A.; Adamchuk, V.I.; Park, J.; Cloutier, G.; Clark, J.J.; Miller, C. Towards a machine vision-based yield monitor for the counting and quality mapping of shallots. Front. Robot. AI 2021, 8, 627067. [Google Scholar] [CrossRef] [PubMed]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. [Google Scholar]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2015. [Google Scholar]
- Koirala, A.; Walsh, K.B.; Wang, Z.; McCarthy, C. Deep learning for real-time fruit detection and orchard fruit load estimation: Benchmarking of ‘MangoYOLO’. Precis. Agric. 2019, 20, 1107–1135. [Google Scholar] [CrossRef]
- Lv, Y.; Lu, S.; Liu, X.; Bao, J.; Liu, B.; Chen, M.; Li, G. LDC-PP-YOLOE: A lightweight model for detecting and counting citrus fruit. Pattern Anal. Appl. 2024, 27, 114. [Google Scholar] [CrossRef]
- Kang, R.; Huang, J.; Zhou, X.; Ren, N.; Sun, S. Toward real scenery: A lightweight tomato growth inspection algorithm for leaf disease detection and fruit counting. Plant Phenomics 2024, 6, 0174. [Google Scholar] [CrossRef]
- Ma, Z.; Dong, N.; Gu, J.; Cheng, H.; Meng, Z.; Du, X. STRAW-YOLO: A detection method for strawberry fruits targets and key points. Comput. Electron. Agric. 2025, 230, 109853. [Google Scholar] [CrossRef]
- Jing, X.; Wang, Y.; Li, D.; Pan, W. Melon ripeness detection by an improved object detection algorithm for resource constrained environments. Plant Methods 2024, 20, 127. [Google Scholar] [CrossRef]
- Dehais, J.; Anthimopoulos, M.; Shevchik, S.; Mougiakakou, S. Two-view 3D reconstruction for food volume estimation. IEEE Trans. Multimed. 2016, 19, 1090–1099. [Google Scholar] [CrossRef]
- Hassannejad, H.; Matrella, G.; Ciampolini, P.; De Munari, I.; Mordonini, M.; Cagnoni, S. A new approach to image-based estimation of food volume. Algorithms 2017, 10, 66. [Google Scholar] [CrossRef]
- Rahman, M.H.; Li, Q.; Pickering, M.; Frater, M.; Kerr, D.; Bouchey, C.; Delp, E. Food volume estimation in a mobile phone based dietary assessment system. In 2012 Eighth International Conference on Signal Image Technology and Internet Based Systems; IEEE: New York, NY, USA, 2012; pp. 988–995. [Google Scholar]
- Li, H.; Han, T. DeepVol: Deep fruit volume estimation. In International Conference on Artificial Neural Networks; Springer: Berlin/Heidelberg, Germany, 2018; pp. 331–341. [Google Scholar]
- Sa, I.; Ge, Z.; Dayoub, F.; Upcroft, B.; Perez, T.; McCool, C. Deepfruits: A fruit detection system using deep neural networks. Sensors 2016, 16, 1222. [Google Scholar] [CrossRef]
- Koirala, A.; Walsh, K.B.; Wang, Z.; McCarthy, C. Deep learning–Method overview and review of use for fruit detection and yield estimation. Comput. Electron. Agric. 2019, 162, 219–234. [Google Scholar] [CrossRef]
- Calixto, R.R.; Neto, L.G.P.; da Silveira Cavalcante Aragão, M.F.; de Oliveira Silva, E. A computer vision model development for size and weight estimation of yellow melon in the Brazilian northeast. Sci. Hortic. 2019, 256, 108521. [Google Scholar] [CrossRef]
- Otsu, N. A threshold selection method from gray-level histograms. Automatica 1975, 11, 23–27. [Google Scholar] [CrossRef]
- Chen, Y.; Lee, W.S.; Gan, H.; Peres, N.; Fraisse, C.; Zhang, Y.; He, Y. Strawberry yield prediction based on a deep neural network using high-resolution aerial orthoimages. Remote Sens. 2019, 11, 1584. [Google Scholar] [CrossRef]
- Zhao, T.; Yang, Y.; Niu, H.; Chen, Y.; Wang, D. Comparing U-Net convolutional networks with fully convolutional networks in the performances of pomegranate tree canopy segmentation. In Proceedings of the Multispectral, Hyperspectral, and Ultraspectral Remote Sensing Technology, Techniques and Applications VII, Honolulu, HI, USA, 24–26 September 2018. [Google Scholar]
- Kalantar, A.; Edan, Y.; Gur, A.; Klapp, I. A deep learning system for single and overall weight estimation of melons using unmanned aerial vehicle images. Comput. Electron. Agric. 2020, 178, 105748. [Google Scholar] [CrossRef]
- Dashuta, A.; Klapp, I. Melon recognition in UAV images to estimate yield of a breeding process. In Optics and Photonics for Energy and the Environment; Optica Publishing Group: Washington, DC, USA, 2018; p. ET4A-2. [Google Scholar]
- Hunt, E.R., Jr.; Hively, W.D.; Fujikawa, S.J.; Linden, D.S.; Daughtry, C.S.T.; McCarty, G.W. Acquisition of NIR-green-blue digital photographs from unmanned aircraft for crop monitoring. Remote Sens. 2010, 2, 290–305. [Google Scholar] [CrossRef]
- Aasen, H.; Honkavaara, E.; Lucieer, A.; Zarco-Tejada, P.J. Quantitative remote sensing at ultra-high resolution with UAV spectroscopy: A review of sensor technology, measurement procedures, and data correction workflows. Remote Sens. 2018, 10, 1091. [Google Scholar] [CrossRef]
- Bronshtein, I.N.; Semendyayev, K.A.; Musiol, G.; Muehlig, H. Handbook of Mathematics; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar]











| Harvest | Model Count | Field Count | Error % |
|---|---|---|---|
| 14 July | 521 | 560 | 7% |
| 24 July | 1673 | 1735 | 4% |
| 7 August | 114 | 117 | 3% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Aldakn, H.; Dragonetti, G.; Khadra, R.; Abdelmoneim, A.A.A.; Derardja, B. UAV-Based Computer Vision Approach for Melon Fruit Detection and Yield Estimation. AgriEngineering 2026, 8, 53. https://doi.org/10.3390/agriengineering8020053
Aldakn H, Dragonetti G, Khadra R, Abdelmoneim AAA, Derardja B. UAV-Based Computer Vision Approach for Melon Fruit Detection and Yield Estimation. AgriEngineering. 2026; 8(2):53. https://doi.org/10.3390/agriengineering8020053
Chicago/Turabian StyleAldakn, Hassan, Giovanna Dragonetti, Roula Khadra, Ahmed Ali Ayoub Abdelmoneim, and Bilal Derardja. 2026. "UAV-Based Computer Vision Approach for Melon Fruit Detection and Yield Estimation" AgriEngineering 8, no. 2: 53. https://doi.org/10.3390/agriengineering8020053
APA StyleAldakn, H., Dragonetti, G., Khadra, R., Abdelmoneim, A. A. A., & Derardja, B. (2026). UAV-Based Computer Vision Approach for Melon Fruit Detection and Yield Estimation. AgriEngineering, 8(2), 53. https://doi.org/10.3390/agriengineering8020053

