Object Detection Algorithm for Citrus Fruits Based on Improved YOLOv5 Model
Open Access
- 12 October 2024
- journal article
- research article
- Published by MDPI AG in Agriculture
- Vol. 14 (10) , 1798
Abstract
To address the challenges of missed and false detections in citrus fruit detection caused by environmental factors such as leaf occlusion, fruit overlap, and variations in natural light in hilly and mountainous orchards, this paper proposes a citrus detection model based on an improved YOLOv5 algorithm. By introducing receptive field convolutions with full 3D weights (RFCF), the model overcomes the issue of parameter sharing in convolution operations, enhancing detection accuracy. A focused linear attention (FLA) module is incorporated to improve the expressive power of the self-attention mechanism while maintaining computational efficiency. Additionally, anchor boxes were re-clustered based on the shape characteristics of target objects, and the boundary box loss function was improved to Foal-EIoU, boosting the model’s localization ability. Experiments conducted on a citrus fruit dataset labeled using LabelImg, collected from hilly and mountainous areas, showed a detection precision of 95.83% and a mean average precision (mAP) of 79.68%. This research not only significantly improves detection performance in complex environments but also provides crucial data support for precision tasks such as orchard localization and intelligent picking, demonstrating strong potential for practical applications in smart agriculture.Keywords
Funding Information
- Guizhou Provincial Science and Technology Plan Project (Qiankehe Support (2022) General No. 168)
This publication has 44 references indexed in Scilit:
- Automatic fruit picking technology: a comprehensive review of research advancesArtificial Intelligence Review, 2024
- An improved YOLO algorithm for detecting flowers and fruits on strawberry seedlingsBiosystems Engineering, 2023
- Real-time cucurbit fruit detection in greenhouse using improved YOLO series algorithmPrecision Agriculture, 2023
- An improved YOLOv5 model based on visual attention mechanism: Application to recognition of tomato virus diseaseComputers and Electronics in Agriculture, 2022
- Channel pruned YOLO V5s-based deep learning approach for rapid and accurate apple fruitlet detection before fruit thinningBiosystems Engineering, 2021
- A detection algorithm for cherry fruits based on the improved YOLO-v4 modelNeural Computing and Applications, 2021
- Application of consumer RGB-D cameras for fruit detection and localization in field: A critical reviewComputers and Electronics in Agriculture, 2020
- Color-, depth-, and shape-based 3D fruit detectionPrecision Agriculture, 2019
- Texture-based fruit detectionPrecision Agriculture, 2014
- Image fusion of visible and thermal images for fruit detectionBiosystems Engineering, 2009