{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,5]],"date-time":"2026-06-05T16:28:19Z","timestamp":1780676899240,"version":"3.54.1"},"reference-count":42,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2025,6,13]],"date-time":"2025-06-13T00:00:00Z","timestamp":1749772800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computation"],"abstract":"<jats:p>Presented study evaluates and compares two deep learning models, i.e., YOLOv8n and Faster R-CNN, for automated detection of date fruits in natural orchard environments. Both models were trained and tested using a publicly available annotated dataset. YOLO, a single-stage detector, achieved a mAP@0.5 of 0.942 with a training time of approximately 2 h. It demonstrated strong generalization, especially in simpler conditions, and is well-suited for real-time applications due to its speed and lower computational requirements. Faster R-CNN, a two-stage detector using a ResNet-50 backbone, reached comparable accuracy (mAP@0.5 = 0.94) with slightly higher precision and recall. However, its training required significantly more time (approximately 19 h) and resources. Deep learning metrics analysis confirmed both models performed reliably, with YOLO favoring inference speed and Faster R-CNN offering improved robustness under occlusion and variable lighting. Practical recommendations are provided for model selection based on application needs\u2014YOLO for mobile or field robotics and Faster R-CNN for high-accuracy offline tasks. Additional conclusions highlight the benefits of GPU acceleration and high-resolution inputs. The study contributes to the growing body of research on AI deployment in precision agriculture and provides insights into the development of intelligent harvesting and crop monitoring systems.<\/jats:p>","DOI":"10.3390\/computation13060149","type":"journal-article","created":{"date-parts":[[2025,6,16]],"date-time":"2025-06-16T04:06:24Z","timestamp":1750046784000},"page":"149","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["Application of AI in Date Fruit Detection\u2014Performance Analysis of YOLO and Faster R-CNN Models"],"prefix":"10.3390","volume":"13","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9771-6897","authenticated-orcid":false,"given":"Seweryn","family":"Lipi\u0144ski","sequence":"first","affiliation":[{"name":"Faculty of Technical Sciences, University of Warmia and Mazury in Olsztyn, 10-036 Olsztyn, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Szymon","family":"Sadkowski","sequence":"additional","affiliation":[{"name":"Faculty of Technical Sciences, University of Warmia and Mazury in Olsztyn, 10-036 Olsztyn, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2234-0554","authenticated-orcid":false,"given":"Pawe\u0142","family":"Chwietczuk","sequence":"additional","affiliation":[{"name":"Faculty of Technical Sciences, University of Warmia and Mazury in Olsztyn, 10-036 Olsztyn, Poland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2025,6,13]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"1077","DOI":"10.21273\/HORTSCI.42.5.1077","article-title":"The date palm (Phoenix dactylifera L.): Overview of biology, uses, and cultivation","volume":"42","author":"Chao","year":"2007","journal-title":"HortScience"},{"key":"ref_2","unstructured":"Zaid, A. (2024). Date Palm Cultivation, Food and Agricultural Organization of the United Nations. [2nd ed.]."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Al-Karmadi, A., and Okoh, A.I. (2024). An overview of date (Phoenix dactylifera) fruits as an important global food resource. Foods, 13.","DOI":"10.3390\/foods13071024"},{"key":"ref_4","unstructured":"Tariq, I., Akhtar, S., and Lazarte, C.E. (2023). Date palm (Phoenix dactylifera): A review of economic potential, industrial valorization, nutritional and health significance. Neglected Plant Foods of South Asia: Exploring and Valorizing Nature to Feed Hunger, Springer."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"13620","DOI":"10.3390\/molecules200813620","article-title":"Metabolic analysis of various date palm fruit (Phoenix dactylifera L.) cultivars from Saudi Arabia to assess their nutritional quality","volume":"20","author":"Hamad","year":"2015","journal-title":"Molecules"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Mu\u00f1oz-Tebar, N., Viuda-Martos, M., Lorenzo, J.M., Fernandez-Lopez, J., and Perez-Alvarez, J.A. (2023). Strategies for the valorization of date fruit and its co-products: A new ingredient in the development of value-added foods. Foods, 12.","DOI":"10.3390\/foods12071456"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Rambabu, K., Bharath, G., Hai, A., Banat, F., Hasan, S.W., Taher, H., and Mohd Zaid, H.F. (2020). Nutritional quality and physico-chemical characteristics of selected date fruit varieties of the United Arab Emirates. Processes, 8.","DOI":"10.3390\/pr8030256"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Barakat, H., and Alfheeaid, H.A. (2023). Date palm fruit (Phoenix dactylifera) and its promising potential in developing functional energy bars: Review of chemical, nutritional, functional, and sensory attributes. Nutrients, 15.","DOI":"10.3390\/nu15092134"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Fern\u00e1ndez-L\u00f3pez, J., Viuda-Martos, M., Sayas-Barber\u00e1, E., Navarro-Rodr\u00edguez de Vera, C., and P\u00e9rez-\u00c1lvarez, J.\u00c1. (2022). Biological, nutritive, functional and healthy potential of date palm fruit (Phoenix dactylifera L.): Current research and future prospects. Agronomy, 12.","DOI":"10.3390\/agronomy12040876"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Alharbi, K.L., Raman, J., and Shin, H.J. (2021). Date fruit and seed in nutricosmetics. Cosmetics, 8.","DOI":"10.3390\/cosmetics8030059"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"56","DOI":"10.1186\/s43014-023-00205-5","article-title":"State-of-the-art non-destructive approaches for maturity index determination in fruits and vegetables: Principles, applications, and future directions","volume":"6","author":"Anjali","year":"2024","journal-title":"Food Prod. Process. Nutr."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Mohammed, M., Munir, M., and Aljabr, A. (2022). Prediction of date fruit quality attributes during cold storage based on their electrical properties using artificial neural networks models. Foods, 11.","DOI":"10.3390\/foods11111666"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"60155","DOI":"10.1109\/ACCESS.2024.3390581","article-title":"Evaluation of Machine Learning approaches for precision farming in Smart Agriculture System\u2014A comprehensive Review","volume":"12","author":"Mohyuddin","year":"2024","journal-title":"IEEE Access"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1186\/s40537-021-00444-8","article-title":"Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions","volume":"8","author":"Alzubaidi","year":"2021","journal-title":"J. Big Data"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Taye, M.M. (2023). Theoretical understanding of convolutional neural network: Concepts, architectures, applications, future directions. Computation, 11.","DOI":"10.3390\/computation11030052"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Chu, X., Miao, P., Zhang, K., Wei, H., Fu, H., Liu, H., Jiang, H., and Ma, Z. (2022). Green Banana maturity classification and quality evaluation using hyperspectral imaging. Agriculture, 12.","DOI":"10.3390\/agriculture12040530"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"108260","DOI":"10.1016\/j.engappai.2024.108260","article-title":"Fruit and vegetable disease detection and classification: Recent trends, challenges, and future opportunities","volume":"133","author":"Gupta","year":"2024","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Santelices, I.R., Cano, S., Moreira, F., and Fritz, \u00c1.P. (2025). Artificial Vision Systems for Fruit Inspection and Classification: Systematic Literature Review. Sensors, 25.","DOI":"10.3390\/s25051524"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Xiao, F., Wang, H., Li, Y., Cao, Y., Lv, X., and Xu, G. (2023). Object detection and recognition techniques based on digital image processing and traditional machine learning for fruit and vegetable harvesting robots: An overview and review. Agronomy, 13.","DOI":"10.3390\/agronomy13030639"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"109876","DOI":"10.1016\/j.dib.2023.109876","article-title":"Date fruit detection dataset for automatic harvesting","volume":"52","author":"Zarouit","year":"2024","journal-title":"Data Br."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"2300","DOI":"10.3390\/ai5040113","article-title":"Comparison of CNN-Based Architectures for Detection of Different Object Classes","volume":"5","author":"Bilous","year":"2024","journal-title":"AI"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"105200","DOI":"10.1016\/j.engappai.2022.105200","article-title":"Development of a core feature identification application based on the Faster R-CNN algorithm","volume":"115","author":"Jiang","year":"2022","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Shobaki, W.A., and Milanova, M.A. (2025). Comparative Study of YOLO, SSD, Faster R-CNN, and More for Optimized Eye-Gaze Writing. Sci, 7.","DOI":"10.3390\/sci7020047"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"33","DOI":"10.1016\/j.jare.2021.03.015","article-title":"A review on modern defect detection models using DCNNs\u2013Deep convolutional neural networks","volume":"35","author":"Tulbure","year":"2022","journal-title":"J. Adv. Res."},{"key":"ref_25","unstructured":"(2025, May 20). Date Fruit Detection Dataset for Computer Vision-Based Automatic Harvesting. Available online: https:\/\/doi.org\/10.5281\/zenodo.8315235."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013). An Introduction to Statistical Learning with Applications in R, Springer.","DOI":"10.1007\/978-1-4614-7138-7"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"197","DOI":"10.1016\/bs.host.2018.07.004","article-title":"Machine learning","volume":"38","author":"Shobha","year":"2018","journal-title":"Handb. Stat."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"106533","DOI":"10.1016\/j.compag.2021.106533","article-title":"Fruit detection and load estimation of an orange orchard using the YOLO models through simple approaches in different imaging and illumination conditions","volume":"191","author":"Mirhaji","year":"2021","journal-title":"Comp. Electron. Agric."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"51","DOI":"10.1016\/j.biosystemseng.2013.07.007","article-title":"Identification and determination of the number of immature green citrus fruit in a canopy under different ambient light conditions","volume":"117","author":"Sengupta","year":"2014","journal-title":"Biosyst. Eng."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Wang, H., Zhang, G., Cao, H., Hu, K., Wang, Q., Deng, Y., Gao, J., and Tang, Y. (2025). Geometry-Aware 3D Point Cloud Learning for Precise Cutting-Point Detection in Unstructured Field Environments. J. Field Robot.","DOI":"10.1002\/rob.22567"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Shiu, Y.S., Lee, R.Y., and Chang, Y.C. (2023). Pineapples\u2019 detection and segmentation based on faster and mask r-cnn in uav imagery. Remote Sens., 15.","DOI":"10.3390\/rs15030814"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1183","DOI":"10.1007\/s11119-023-10009-9","article-title":"Optimization strategies of fruit detection to overcome the challenge of unstructured background in field orchard environment: A review","volume":"24","author":"Tang","year":"2023","journal-title":"Precis. Agric."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"42816","DOI":"10.1109\/ACCESS.2024.3378568","article-title":"Yolov1 to v8: Unveiling each variant\u2013a comprehensive review of yolo","volume":"12","author":"Hussain","year":"2024","journal-title":"IEEE Access"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Kang, S., Hu, Z., Liu, L., Zhang, K., and Cao, Z. (2025). Object Detection YOLO Algorithms and Their Industrial Applications: Overview and Comparative Analysis. Electronics, 14.","DOI":"10.3390\/electronics14061104"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"e2033","DOI":"10.7717\/peerj-cs.2033","article-title":"Analysis of the performance of Faster R-CNN and YOLOv8 in detecting fishing vessels and fishes in real time","volume":"10","author":"Ezzeddini","year":"2024","journal-title":"PeerJ Comput. Sci."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"107036","DOI":"10.1016\/j.comnet.2019.107036","article-title":"Faster R-CNN for multi-class fruit detection using a robotic vision system","volume":"168","author":"Wan","year":"2020","journal-title":"Comput. Netw."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Noutfia, Y., and Ropelewska, E. (2024). What can artificial intelligence approaches bring to an improved and efficient harvesting and postharvest handling of date fruit (Phoenix dactylifera L.)? A review. Postharvest Biol. Technol., 213.","DOI":"10.1016\/j.postharvbio.2024.112926"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Fan, C.L., and Chung, Y.J. (2022). Design and optimization of CNN architecture to identify the types of damage imagery. Mathematics, 10.","DOI":"10.3390\/math10193483"},{"key":"ref_39","unstructured":"Krohn, J., Beyleveld, G., and Bassens, A. (2019). Deep Learning Illustrated: A Visual, Interactive Guide to Artificial Intelligence, Addison-Wesley Professional."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Koonce, B. (2021). ResNet 50. Convolutional Neural Networks with Swift for Tensorflow. Image Recognition and Dataset Categorization, APress.","DOI":"10.1007\/978-1-4842-6168-2"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Zhang, X., Li, H., Sun, S., Zhang, W., Shi, F., Zhang, R., and Liu, Q. (2023). Classification and identification of apple leaf diseases and insect pests based on improved ResNet-50 model. Horticulturae, 9.","DOI":"10.3390\/horticulturae9091046"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Wang, H., Xu, X., Liu, Y., Lu, D., Liang, B., and Tang, Y. (2023). Real-time defect detection for metal components: A fusion of enhanced canny\u2013devernay and YOLOv6 algorithms. Appl. Sci., 13.","DOI":"10.3390\/app13126898"}],"container-title":["Computation"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2079-3197\/13\/6\/149\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:51:47Z","timestamp":1760032307000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2079-3197\/13\/6\/149"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,13]]},"references-count":42,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2025,6]]}},"alternative-id":["computation13060149"],"URL":"https:\/\/doi.org\/10.3390\/computation13060149","relation":{},"ISSN":["2079-3197"],"issn-type":[{"value":"2079-3197","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,13]]}}}