中国农业机械化科学研究院集团有限公司 主管

北京卓众出版有限公司 主办

基于改进YOLOv8n的死鸡识别与捡拾部位定位

Recognition and pickup regions localization method for dead hen based on improved YOLOv8n

  • 摘要: 针对智能化笼养蛋鸡场环境下机器人进行死鸡检测与定位捡拾时存在背景复杂、检测精度低、目标定位困难等问题,提出一种基于改进YOLOv8n的笼养蛋鸡死鸡捡拾部位目标检测模型,结合深度相机进行定位的方法。首先,为提高检测精度,在主干网络SPPF的前一层增加Shuffle Attention注意力机制提升模型的特征提取能力;其次,引入C2f-Faster模块替换C2f,通过减少冗余的计算和内存访问以进一步增强空间特征提取。在捡拾部位目标检测完成后,结合深度相机(Realsense D435i型),通过多采样点稳健深度测量及基于目标的自适应坐标平滑等处理,优化死鸡捡拾部位目标定位模型。试验结果表明,改进YOLOv8n识别精确率90.1%、召回率90.6%、全类别平均精度均值93.2%,参数量较改进前减少6.0%、计算量减少14.9%、推理速度提升1.5%。在密集、遮挡、昏暗环境情况下,改进YOLOv8n对死鸡捡拾部位目标亦能实现高精度识别与定位,具有较强的鲁棒性。

     

    Abstract: To address main challenges faced by robots when detecting, locating, and picking up dead hens in intelligent caged laying hen farms, such as complex backgrounds, low detection accuracy, and difficulties in target localization, a method based on an improved YOLOv8n model for detecting dead hens in caged laying hen farms and locating their pickup regions has been proposed, combined with a depth camera for localization.Firstly, to improve detection accuracy, a Shuffle Attention mechanism has been added before SPPF layer in backbone network to enhance model's feature extraction capability.Additionally, C2f-Faster module has been introduced to replace C2f, further strengthened spatial feature extraction by reducing redundant computation and memory access.After completing target detection at pickup regions, model for locating dead hens was optimized by integrating a depth camera(Realsense D435i)and employing multi-sampling point rubust depth measurement, and adaptive coordinate smoothing based on target.Experimental results have shown that improved YOLOv8n detection model achieved a precision of 90.1%, a recall rate of 90.6%, and mean average precision of 93.2%, with 6.0% reduction in number of parameters, 14.9% reduction in computational load, and 1.5% increase in inference speed compared to original model.Improved YOLOv8n model demonstrated high-precision recognition and localization of dead hens pickup regions even under challenging conditions of high density, occlusion, and varying environmental factors, indicating exceptional robustness.

     

/

返回文章
返回