基于改进YOLOv8n的笼养鸡死鸡实时检测  

Real-time detection of dead chickens in cages using improved YOLOv8n

在线阅读下载全文

作  者:裴玮 王彦超 爨凯旋 林文英 施伟强 刘振宇[1] 汪开英[2] PEI Wei;WANG Yanchao;CUAN Kaixuan;LIN Wenying;SHI Weiqiang;LIU Zhenyu;WANG Kaiying(College of Agricultural Engineering,Shanxi Agricultural University,Jinzhong 030800,China;College of Biosystems Engineering and Food Science,Zhejiang University,Hangzhou 310058,China;Songyang County Agricultural Technology Extension Center,Lishui 323400,China)

机构地区:[1]山西农业大学农业工程学院,晋中030800 [2]浙江大学生物系统工程与食品科学学院,杭州310058 [3]松阳县农业技术推广中心,丽水323400

出  处:《农业工程学报》2025年第7期156-164,共9页Transactions of the Chinese Society of Agricultural Engineering

基  金:浙江省农机研发制造推广应用一体化试点项目—智能畜牧机器人研发制造(2024-KYY-NSFZ-0031)。

摘  要:为了实现复杂环境下蛋鸡舍巡检机器人对死鸡的快速准确检测,该研究提出一种基于改进YOLOv8n的笼养鸡死鸡实时检测方法。该方法以YOLOv8n为基础,首先在网络中使用跨阶段融合异构卷积(cross stage partial hetconv,CSPHet)替换原网络中C2f结构,将梯度变化集中到特征图的各个层次,并使用更小的1×1卷积核替代部分3×3核,在保持检测精度的同时降低模型参数量和计算量;其次,在Neck层中引入空间增强注意力模块(spatially enhanced attention module,SEAM),旨在补偿被遮挡区域的损失响应,提高对被遮挡鸡的检测精度;最后,引入动态上采样(dynamics upsampling,DySample),提高特征图放大后的分辨率,强化蛋鸡区域有效特征。试验结果表明,提出的改进YOLOv8n算法对死鸡检测平均精度均值为95.8%,参数量为2.46 MB。与原始YOLOv8n相比,平均检测精度均值提高1.5个百分点,参数量减少了18.3%。为验证该模型的稳定性、适用性和实时性,成功将改进模型部署到巡检机器人的边缘设备端,实现了对笼养蛋鸡中死鸡的准确检测与识别。该研究为基于边缘设备的巡检机器人对蛋鸡舍中的死鸡快速精准检测提供了技术支持。Egg-laying chickens can inevitably perish daily in large-scale farms.However,manual inspection of deceased chickens cannot fully meet the large-scale production under harsh conditions.Consequently,inspection robots can be utilized as a highly efficient trend in modern agriculture.In this study,the inspection robot was performed on the egg-laying chickens house to swiftly and precisely detect the deceased chickens under complex environments.The detection of dead chickens were also introduced for the caged egg-laying chickens using an improved YOLOv8n model.The research objects were four-tier caged laying chickens on a large-scale laying chickens farm in Zhejiang Province,China.In order to improve the recognition effect and avoid misjudging the lying chickens as dead chickens.Thus,a"lie"label was added during annotation.The dataset was defined with a total of three labels:normal,lying,and dead,where the label was named"normal","lie",and"dead",respectively.The dataset of 4000 images was constructed after labeling.The dead chickens were presented in 2000 images,while the lying chickens were presented in 1000 images.The dataset was randomly divided into a training set,a validation set,and a test set at a ratio of 6:2:2.Initially,cross stage partial hetconv(CSPHet)was employed to replace the C2f structure within the network using YOLOv8n.The gradient changes of feature maps were then focused across various levels.Additionally,the smaller 1×1 convolution kernels were utilized to substitute some 3×3 convolution kernels,effectively minimizing the model's parameters and computational burden while maintaining detection precision.Secondly,due to the acute occlusion issue in highdensity caged chickens farming,occlusion among egg-laying chickens resulted in data loss.Therefore,the spatially improved attention module(SEAM)was integrated into the neck layer to compensate for the response loss in occluded regions and enhance the detection precision of occluded targets.Lastly,dynamics upsampling(DySample)was introduced to bolste

关 键 词:笼养蛋鸡 巡检机器人 死鸡检测 目标识别 YOLOv8n 

分 类 号:TP391.4[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象