Efficient deep learning-based approach for detecting citrus fruits
Keywords:
Deep Learning, Convolutional Neural Networks, Object Detection, Digital Agriculture, Yield Monitoring, Fruit CountingAbstract
Yield monitoring is crucial for the agricultural sector, as it can be used to inform decisions on harvesting, storage, and transportation. Traditionally, several statistical methods and visual inspection techniques are employed to get an early estimate of the final yield of citrus, with the downside of being inaccurate, costly, and time-consuming. In recent years, there have been a lot of advancements in the fields of Artificial Intelligence (AI) and computer vision, providing opportunities to automate plenty of things in different domains, including agriculture. This research proposes a deep learning-based framework that leverages multiple Convolutional Neural Networks (CNN) to efficiently and effectively operate in real-world environments, using field data to provide accurate, improved yield estimates. A high-quality dataset, consisting of citrus tree images, is obtained from orchards at the university research farm Koont and the National Agriculture Research Center (NARC). Afterwards, the CNN-based models are trained thoroughly with various configurations and data augmentation techniques. All the models are rigorously tested and evaluated on the basis of a number of performance metrics. Experiments have shown that YOLOv8m performs with the highest mean average precision, reaching up to 90% with an inference time of a few milliseconds, making it worthy to be deployed for fruit detection, counting, and yield estimation tasks.
Keywords: deep learning, convolutional neural networks, object detection, sensor, yield monitoring, fruit counting
DOI: 10.25165/j.ijabe.20261903.9702
Citation: Adeem G, Abdulkader O, Ikram M J, Aqib M, Hafeez Y, Tahir M N, et al. Efficient deep learning-based approach for detecting citrus fruits. Int J Agric & Biol Eng, 2026; 19(3): 267–280.
References
[1] Ribeiro H, Abreu I, Cunha M. Olive crop-yield forecasting based on airborne pollen in a region where the olive groves acreage and crop system changed drastically. Aerobiologia, 2017; 33: 473–480.
[2] Dhiab A B, Mimoun M B, Oteros J, Garcia-Mozo H, Domínguez-Vilches E, Galán G, et al. Modeling olive-crop forecasting in Tunisia. Theoretical and Applied Climatology, 2017; 128: 541–549.
[3] Abdel-Hamid O, Mohamed A, Jiang H, Deng L, Penn G, Yu D. Convolutional neural networks for speech recognition. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2014; 22(10): 1533–1545.
[4] Aguilera F, Ruiz-Valenzuela L. A new aerobiological indicator to optimize the prediction of the olive crop yield in intensive farming areas of southern Spain. Agicultural and Forest Meteorology, 2019; 271: 207–213.
[5] Apolo-Apolo O E, Pérez-Ruiz M, Martínez-Guanter J, Valente J. A cloud-based environment for generating yield estimation maps from apple orchards using UAV imagery and a deep learning technique. Front. Plant Sci., 2020; 11: 1086.
[6] Zhu Y L, Wu S S, Qin M J, Fu Z Y, Gao Y, Wang Y Y, et al. A deep learning crop model for adaptive yield estimation in large areas. International Journal of Applied Earth Observation and Geoinformation, 2022; 110: 102828.
[7] Masheswari P, Raja P, Hoang V T. Intelligent yield estimation for tomato crop using SegNet with VGG19 architecture. Scientific Reports, 2022; 12: 13601.
[8] Dhiman P, Kukreja V, Manoharan P, Kaur A, Kamruzzaman M M, Dhaou I, et al. A novel deep learning model for detection of severity level of the disease in citrus fruits. Electronics, 2022; 11(3): 495.
[9] Syed-Ab-Rahman S F, Hesamian M H, Prasad M. Citrus disease detection and classification using end-to-end anchor-based deep learning model. Applied Intelligence, 2022; 52(1): 927–938.
[10] Dhiman P, Kaur A, Hamid Y, Alabdulkreem E, Elmannai H, Ababneh N. Smart disease detection system for citrus fruits using deep learning with edge computing. Sustainability, 2023; 15(5): 4576.
[11] Kang X Y, Huang C P, Zhang L F, Zhang Z, Lyu X. Downscaling solar-induced chlorophyll fluorescence for field-scale cotton yield estimation by a two-step convolutional neural network. Computers and Electronics in Agriculture, 2022; 201: 107260.
[12] Zhang X H, Toudeshki A, Ehsani R, Li H L, Zhang W F, Ma R J. Yield estimation of citrus fruit using rapid image processing in natural background. Smart Agricultural Technology, 2022; 2: 100027.
[13] Zhou X B, Kono Y, Win A, Matsui T, Tanaka T S T. Predicting within-field variability in grain yield and protein content of winter wheat using UAV-based multispectral imagery and machine learning approaches. Plant Production Science, 2021; 24(2): 137–151.
[14] Redmon J, Divvala S, Girshick R, Farhadi A. You only look once: Unified, real-time object detection. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition, 2016; pp.779–788. doi: 10.1109/CVPR.2016.91.
[15] Xing S L, Lee M. Classification accuracy improvement for small-size citrus pests and diseases using bridge connections in deep neural networks. Sensors, 2020; 20(17): 4992.
[16] Wu Y, Kirillov A, Massa F, Lo W Y, Girshick R. Detectron2 Releases. Available: https//github.com/facebookresearch/detectron2/releases. Accessed on [2021-03-03].
[17] Nevavuori P, Narra N, Linna P, Lipping T. Crop yield prediction using multitemporal UAV data and spatio-temporal deep learning models. Remote Sensing, 2020; 12(23): 4000.
[18] Zhang W L, Wang J Q, Liu Y X, Chen K Z, Li H B, Duan Y L, et al. Deep-learning-based in-field citrus fruit detection and tracking. Horticulture Research, 2022; 9: uhac003.
[19] Darwin B, Dharmaraj P, Prince S, Popescu D E, Hemanth D J. Recognition of bloom/yield in crop images using deep learning models for smart agriculture: A review. Agronomy, 2021; 11(4): 646.
[20] 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. Computers and Electronics in Agriculture, 2020; 178: 105748.
[21] Lin P Y, Li D H, Jia Y H, Chen Y Y, Huang G W, Elkhouchlaa H, et al. A novel approach for estimating the flowering rate of litchi based on deep learning and UAV images. Front. Plant Sci., 2022; 13: 966639.
[22] Gour M, Jain S, Kumar T S. Residual learning based CNN for breast cancer histopathological image classification. International Journal of Imaging Systems and Technology, 2020; 30(3): 621–635.
[23] Gour M, Jain S, Agrawal R. DeepRNNetSeg: Deep residual neural network for nuclei segmentation on breast cancer histopathological images. In: Computer Vision and Image Processing. CVIP 2019. Communications in Computer and Information Science, 2019; 1148: 243–253.
[24] Vijayakumar V, Ampatzidis Y, Costa L. Tree-level citrus yield prediction utilizing ground and aerial machine vision and machine learning. Smart Agricultural Technology, 2023; 3: 100077.
[25] Gavahi K, Abbaszadeh P, Moradkhani H. DeepYield: A combined convolutional neural network with long short-term memory for crop yield forecasting. Expert Systems with Applications, 2021; 184: 115511.
[26] Mendez V, Perez-Romero A, Sola-Guirado R, Miranda-Fuentes A, Manzano-Agugliaro F, Zapata-Sierra A, et al. In-field estimation of orange number and size by 3D laser scanning. Agronomy, 2019; 9(12): 885.
[27] Stateras D, Kalivas D. Assessment of olive tree canopy characteristics and yield forecast model using high resolution UAV imagery. Agriculture, 2020; 10(9): 385.
[28] Xia X, Chai X J, Zhang N, Zhang Z, Sun Q X, Sun T. Culling double counting in sequence images for fruit yield estimation. Agronomy, 2022; 12(2): 440.
[29] Khalid S, Oqaibi H M, Aqib M, Hafeez Y. Small pests detection in field crops using deep learning object detection. Sustainability, 2023; 15(8): 6815.
[30] Aqib M, Mehmood R, Alzahrani A, Katib I, Albeshri A, Altowaijri S M. Smarter traffic prediction using big data, in-memory computing, deep learning and GPUs. Sensors, 2019; 19(9): 2206.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 International Journal of Agricultural and Biological Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.
IJABE is an international peer reviewed, open access journal, adopting Creative Commons Copyright Notices as follows.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).