基于YOLOv8n-BiTD的自然环境下柑橘识别与采摘技术

Citrus Recognition and Picking Technology in Natural Environments Based on YOLOv8n-BiTD

  • 摘要: 针对柑橘采摘过程中存在的果园环境复杂、目标遮挡严重、实时性要求高等问题,提出了一种改进的YOLOv8n-BiTD目标检测模型,并构建集动态视觉识别与机械臂控制于一体的柑橘自动采摘系统。该模型在YOLOv8n基础上,分别在骨干网络中引入C2f-Faster模块以提高特征提取效率,在颈部网络引入双向特征金字塔网络(BiFPN)实现多尺度融合,在检测头部分引入任务对齐解耦检测头(TADDH)以提升遮挡目标检测性能。在保证模型轻量化的基础上,YOLOv8n-BiTD模型在自建柑橘数据集上实现了mAP@50为98.5%、精确度为97.0%、召回率为95.2%的优异检测效果,相较于原YOLOv8n网络,分别提高1.7%、2.5%、2.9%。随后构建了基于深度相机的3维定位系统,实现从图像坐标到相机坐标、控制坐标的精确转换,并将其部署于可编程逻辑控制器(PLC)控制的机械臂系统中,完成采摘动作控制。为验证系统在动态场景下的稳定性与误差控制,进一步设计响应延迟实验,量化不同速度下的抓取偏差与成功率。实验结果表明,YOLOv8n-BiTD模型具备优越的检测精度与部署适应性,集成系统在复杂自然果园场景下展现出良好的鲁棒性与实时性。

     

    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.

     

/

返回文章
返回