Performance Analysis of Faster R-CNN and YOLOv8 Model for Mango Fruits Detection

Main Article Content

Mohd Haris Lye
Marawan Ashraf Eldeib

Abstract

Mango cultivation is a vital agricultural sector in many regions, providing significant economic benefits and contributing to environmental sustainability. Traditional mango detection and harvesting methods are prone to error and are labour-intensive. Recent advances in aerial imagery and Artificial Intelligence (AI) offer innovative solutions to these challenges. An automated yield estimation and fruit harvesting system will require an accurate fruit object detection model. This study explores the application of deep learning models for mango detection on two diverse datasets. This research focuses on evaluating two primary deep learning models: Faster Region-based Convolutional Neural Network (Faster R-CNN) and You Only Look Once (YOLO) variants. Experiments were conducted using datasets from the ACFR mango dataset and a locally collected dataset. The ACFR dataset is acquired from a moving ground vehicle while the local custom dataset is taken from a low flying drone. The Faster R-CNN model was tested with ResNet-50 backbones. YOLOv8 with simple training image augmentation demonstrated superior performance on both datasets, achieving a mean Average Precision with 0.5 Intersection over Union (mAP@0.5) of 0.959 on the ACFR dataset and 0.756 on the custom local mango image dataset. The YOLOv8 model outperforms Faster R-CNN by a large margin on both datasets. The advantage of simple image augmentation for improving mango detection has also been demonstrated. The YOLOv8 model is found to be able to detect mango fruits effectively in both dark and bright lighting conditions.

Article Details

How to Cite
Lye, M. H., & Eldeib, M. A. (2026). Performance Analysis of Faster R-CNN and YOLOv8 Model for Mango Fruits Detection. Journal of Informatics and Web Engineering, 5(2), 280–289. https://doi.org/10.33093/jiwe.2026.5.2.17
Section
Regular issue

References

J. Xiong et al., “Visual detection of green mangoes by an unmanned aerial vehicle in orchards based on a deep learning method,” Biosystems Engineering, vol. 194, pp. 261–272, June 2020, doi: 10.1016/j.biosystemseng.2020.04.006.

Y. Xiong et al., “Detecting and Mapping Individual Fruit Trees in Complex Natural Environments via UAV Remote Sensing and Optimized YOLOv5,” IEEE J. Sel. Top. Appl. Earth Observations Remote Sensing, vol. 17, pp. 7554–7576, 2024, doi: 10.1109/jstars.2024.3379522.

S. Ren, K. He, R. Girshick, and J. Sun, “Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 39, no. 6, pp. 1137–1149, June 2017, doi: 10.1109/tpami.2016.2577031.

J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You Only Look Once: Unified, Real-Time Object Detection,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA: IEEE, June 2016, pp. 779–788. doi: 10.1109/cvpr.2016.91.

X. Wang, H. Li, X. Yue, and L. Meng, “A comprehensive survey on object detection YOLO”, Proceedings http://ceur-ws. org ISSN 1613 (2023): 0073

M. Hussain, “YOLOv1 to v8: Unveiling Each Variant–A Comprehensive Review of YOLO,” IEEE Access, vol. 12, pp. 42816–42833, 2024, doi: 10.1109/access.2024.3378568.

T. Diwan, G. Anirudh, and J. V. Tembhurne, “Object detection using YOLO: challenges, architectural successors, datasets and applications,” Multimed Tools Appl, vol. 82, no. 6, pp. 9243–9275, Mar. 2023, doi: 10.1007/s11042-022-13644-y.

J. Terven, D.-M. Cordova-Esparza, and J.-A. Romero-Gonzalez, “A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS,” MAKE, vol. 5, no. 4, pp. 1680–1716, Nov. 2023, doi: 10.3390/make5040083.

S. Bargoti and J. Underwood, “Deep fruit detection in orchards,” in 2017 IEEE International Conference on Robotics and Automation (ICRA), Singapore, Singapore: IEEE, May 2017, pp. 3626–3633. doi: 10.1109/icra.2017.7989417.

P. Maheswari, P. Raja, and S. Natarajan,“MangoYieldNet: Fruit yield estimation for mango orchards using DeepLabv3+with ResNet18 architecture,” Multimed Tools Appl, Apr. 2025, doi: 10.1007/s11042-025-20791-5.

A. R. Denarda, F. Crocetti, G. Costante, P. Valigi, and M. L. Fravolini, “MangoDetNet: a novel label-efficient weakly supervised fruit detection framework,” Precision Agric, vol. 25, no. 6, pp. 3167–3188, Dec. 2024, doi: 10.1007/s11119-024-10187-0.

Z.-F. Xu, R.-S. Jia, H.-M. Sun, Q.-M. Liu, and Z. Cui, “Light-YOLOv3: fast method for detecting green mangoes in complex scenes using picking robots,” Appl Intell, vol. 50, no. 12, pp. 4670–4687, Dec. 2020, doi: 10.1007/s10489-020-01818-w.

M. Stein, S. Bargoti, and J. Underwood, “Image Based Mango Fruit Detection, Localisation and Yield Estimation Using Multiple View Geometry,” Sensors, vol. 16, no. 11, pp. 1915, Nov. 2016, doi: 10.3390/s16111915.

A. Koirala, K. B. Walsh, Z. Wang, and C. McCarthy, “Deep learning for real-time fruit detection and orchard fruit load estimation: benchmarking of ‘MangoYOLO,’” Precision Agric, vol. 20, no. 6, pp. 1107–1135, Dec. 2019, doi: 10.1007/s11119-019-09642-0.

Z. Zhong, L. Yun, F. Cheng, Z. Chen, and C. Zhang, “Light-YOLO: A Lightweight and Efficient YOLO-Based Deep Learning Model for Mango Detection,” Agriculture, vol. 14, no. 1, pp. 140, Jan. 2024, doi: 10.3390/agriculture14010140.

U. Ali, M. A. Ismail, R. A. A. Habeeb, and S. R. A. Shah, “Performance Evaluation of YOLO Models in Plant Disease Detection,” Journal of Informatics and Web Engineering, vol. 3, no. 2, pp. 199–211, June 2024, doi: 10.33093/jiwe.2024.3.2.15.

C. Pabitha, B. Vanathi, K. Revathi, and S. Benila, “Enhancing Citrus Plant Health through the Application of Image Processing Techniques for Disease Detection,” Journal of Informatics and Web Engineering, vol. 4, no. 2, pp. 53–63, June 2025, doi: 10.33093/jiwe.2025.4.2.4.

Ultralytics, “Ultralytics YOLO: State-of-the-art AI for computer vision.” [Online]. Available: https://www.ultralytics.com/

M. Yaseen, “What is YOLOv8: An In-Depth Exploration of the Internal Features of the Next-Generation Object Detector,” 2024, arXiv: arXiv:2408.15857, doi: 10.48550/arXiv.2408.15857.

R. E. Saragih, A. R. Purnajaya, I. Syafrinal, and Y. Pernando, “Mango and Banana Ripeness Detection based on Lightweight YOLOv8”, Jurnal Buana Informatika, 15(2), pp.79-88, 2024.

K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA: IEEE, June 2016, pp. 770–778. doi: 10.1109/CVPR.2016.90.

M.D. Zeiler, and R. Fergus, Visualizing and Understanding Convolutional Networks,” in Lecture Notes in Computer Science, Cham: Springer International Publishing, 2014, pp. 818–833. doi: 10.1007/978-3-319-10590-1_53.

Meta AI, “Detectron2: Object detection and segmentation tool.” [Online]. Available: https://ai.meta.com/tools/detectron2/