基于改进YOLO v5s的经产母猪发情检测方法研究  被引量:9

Estrus Detection Method of Parturient Sows Based on Improved YOLO v5s

在线阅读下载全文

作  者:薛鸿翔 沈明霞 刘龙申[2,3] 陈金鑫 单武鹏[4] 孙玉文 XUE Hongxiang;SHEN Mingxia;LIU Longshen;CHEN Jinxin;SHAN Wupeng;SUN Yuwen(College of Engineering,Nanjing Agricultural University,Nanjing 210031,China;Key Laboratory of Breeding Equipment,Ministry of Agriculture and Rural Affairs,Nanjing 210031,China;College of Artificial Intelligence,Nanjing Agricultural University,Nanjing 210031,China;College of Animal Science and Technology,Nanjing Agricultural University,Nanjing 210095,China)

机构地区:[1]南京农业大学工学院,南京210031 [2]农业农村部养殖装备重点实验室,南京210031 [3]南京农业大学人工智能学院,南京210031 [4]南京农业大学动物科技学院,南京210095

出  处:《农业机械学报》2023年第1期263-270,共8页Transactions of the Chinese Society for Agricultural Machinery

基  金:江苏省科技计划项目(BE2021363)。

摘  要:为解决限位栏场景下经产母猪查情难度大、过于依赖公猪试情和人工查情的问题,提出了一种基于改进YOLO v5s算法的经产母猪发情快速检测方法。首先,利用马赛克增强方式(Mosaic data augmentation, MDA)扩充数据集,以丰富数据表征;然后,利用稀疏训练(Sparse training, ST)、迭代通道剪枝(Network pruning, NP)、模型微调(Fine tune, FT)等方式重构模型,实现模型压缩与加速;最后,使用DIOU_NMS代替GIOU_NMS,以提高目标框的识别精度,确保模型轻量化后,仍保持较高的检测精度。试验表明,优化后的算法识别平均精确率可达97.8%,单幅图像平均检测时间仅1.7 ms,单帧视频平均检测时间仅6 ms。分析空怀期母猪发情期与非发情期的交互行为特征,发现母猪发情期较非发情期交互时长与频率均显著提高(P<0.001)。以20 s作为发情检测阈值时,发情检测特异性为89.1%、准确率为89.6%、灵敏度为90.0%,该方法能够实现发情母猪快速检测。Quickly and accurately identify estrous sows to ensure timely breeding is the key to keep sow breeding performance. Aiming at the problems of low sensitivity and accuracy rate in sows estrus identification, according to the interactive characteristics of sows and bionic boars, an estrus detection method of sows based on improved YOLO v5s was proposed. Firstly, the automatic inspection robot was used to collect the video data of sows estrus behavior. The Mosaic data augmentation was used to expand the data set to enrich the data representation and enhance the robustness of the detection model, and the estrus detection model based on YOLO v5s was constructed and then optimized by sparse training, iterative channel pruning and fine-tuning to realize model compression and acceleration. DIOU_NMS was used to replace the GIOU_NMS to improve the recognition accuracy and keep high detection accuracy with lightweight-model. The results showed that the average accuracy of the algorithm was 97.8%, the average detection time of each picture was 1.7 ms, and the average detection time of each video frame was 6 ms. Analyzing the interactive behavior characteristics of estrous and non-estrous sows at the end of lactation, it was found that the interactive duration and frequency of estrous sows were significantly higher than that of non-estrous sows(P<0.001). On this basis, it was found that when 20 s was used as the threshold of estrus detection, the sensitivity rate of estrus detection was 90.0%, the accuracy rate was 89.6%, and the specificity was 89.1%, the method can be used to rapidly and accurately detect estrus sows.

关 键 词:经产母猪 发情检测 深度学习 改进YOLO v5s 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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