YOLO-FSEP: An Improved YOLOv8n Algorithm for Sugar Orange Detection in Orchards
Abstract
To address the challenges of detecting sugar orange fruits in complex natural orchard environments-where fruits are frequently occluded by leaves and branches and may be mutually occluded due to dense growth, leading to missed detections, false positives, and low detection confidence-we propose an improved algorithm based on YOLOv8n, named YOLO-FSEP. A Spatial-Channel Synergistic Attention (SCSA) module is introduced into the main network to enhance feature extraction capabilities; the IoU loss function is replaced with Focal_SIOU to improve the detection accuracy for difficult samples; and an SE attention mechanism is embedded in the detection head, with the addition of a P6 high-resolution detection layer to optimize multi-scale object performance. Experimental results on a self-built sugar orange dataset show that, compared to the baseline YOLOv8n, the improved model achieves a 0.9% increase in accuracy, a 1.3% increase in recall, and a 3.2% increase in mAP50-95, while maintaining an inference speed of 62.6 FPS. To evaluate the model under dynamic conditions, we performed a 200-frame continuous test of the 3D localization pipeline on a laptop with a RealSense D435i camera. The average YOLO inference time was 49.90 ms, post-processing (depth extraction and 3D coordinate conversion) took 0.24 ms, and the total processing time was 50.15 ms. Given that the typical response time for a robotic arm's single positioning operation is 100-200 ms, this real-time performance meets the dynamic localization requirements of sugar orange harvesting.
Fields of Study & Subjects
Smart Agriculture and AI
Advanced Neural Network Applications
Robotics and Sensor-Based Localization
Publication details
- Journal / source
- Sensors
- Publisher
- MDPI AG
- Volume
- 26
- Issue
- 12
- Pages
- 3848–3848
- Publication date
- 17 June 2026
- Language
- EN