Abstract:
To address the challenges of complex orchard environments, severe occlusion, and high real-time requirements in citrus harvesting, an improved YOLOv8n-BiTD object detection model is proposed, and an automated citrus picking system integrating dynamic visual recognition with robotic arm control is developed. Based on the original YOLOv8 architecture, the proposed model incorporates a C2f-Faster module in the backbone to enhance feature extraction efficiency, a BiFPN (bidirectional feature pyramid network) in the neck to achieve multi-scale feature fusion, and a TADDH (task-aligned decoupled detection head) to improve the detection performance under occlusion. While maintaining a lightweight structure, the YOLOv8n-BiTD model achieves outstanding detection results on a self-built citrus dataset, with an mAP@50 of 98.5%, a precision of 97%, and a recall of 95.2%, representing improvements of 1.7%, 2.5%, and 2.9%, respectively, compared to the original YOLOv8n model. Subsequently, a 3D localization system based on a depth camera is constructed to accurately convert image coordinates into camera and control coordinates, and the system is deployed in a programmable logic controller (PLC) controlled robotic arm system to complete the picking action control. To evaluate the system’s stability and error control in dynamic conditions, a response delay experiment is designed to quantify the grasping deviations and success rates at different operating speeds. The experimental results demonstrate that the YOLOv8n-BiTD model provides excellent detection accuracy and deployment adaptability, and the integrated system exhibits strong robustness and real-time performance in complex natural orchard scenarios.