Lightweight and High-Precision Visual Detection of Cherry Cracking Defects Based on Improved YOLO11 with Enhanced Feature Fusion
Abstract
Sweet cherry cracking severely impairs its commercial value and causes huge economic losses, and the accurate real-time detection of fine cracking defects remains a challenging small-target detection task. Traditional manual sorting and conventional machine vision methods suffer from low efficiency and poor robustness, while existing YOLO-based models have limitations in multi-scale feature fusion, local feature discrimination and spatial information retention for cherry cracking detection, and their effectiveness in natural production environments has not been statistically validated. To address these issues, this study proposes YOLO-CY for cherry cracking defect detection. Three key modules were optimized: the C3k2_AdditiveBlock was designed to enhance multi-scale feature extraction, the C2PSA_CGLU module improved the discriminability of local crack features via refined channel attention, and the Efficient Up-Convolution Block replaced traditional upsampling to reduce spatial information loss. Experiments were conducted on a self-constructed dataset of 3662 cherry images acquired on a real sorting line under natural ambient light. The results showed that YOLO-CY achieved an mAP50 of 94.88% and an mAP50-95 of 64.92%, with precision and recall reaching 93.90% and 90.81%, respectively, significantly outperforming mainstream lightweight YOLO models and two-stage detectors. Ablation experiments verified the synergistic effect of the three improved modules, and the model only had a marginal increase in parameters (2.62 M) and GFLOPs (6.60), maintaining lightweight characteristics. YOLO-CY can accurately detect fine, low-contrast and pedicel-overlapping cracks and is suitable for real-time detection on automated cherry-sorting lines, providing a technical solution for intelligent cherry quality inspection.
Fields of Study & Subjects
Infrastructure Maintenance and Monitoring
Industrial Vision Systems and Defect Detection
Advanced Neural Network Applications
Publication details
- Journal / source
- Agriculture
- Publisher
- MDPI AG
- Volume
- 16
- Issue
- 10
- Pages
- 1110–1110
- Publication date
- 19 May 2026
- Language
- EN