华南农业大学学报2024,Vol.45Issue(5):722-729,8.DOI:10.7671/j.issn.1001-411X.202404012
基于关键点检测和多目标跟踪的猪只体尺估计
Estimation of pig body measurements based on keypoint detection and multi-object tracking
摘要
Abstract
[Objective]To reduce the manual workload of measuring pig body measurements in pig farms and improve measurement accuracy and efficiency.[Method]An automatic pig body measurement estimation method based on keypoint detection and multi-object tracking was proposed.The method utilized Yolov8-Pose model to identify keypoints and bounding boxes of individual pigs.ByteTrack algorithm was employed for real-time tracking of the pig herd.Regions of interest were introduced to mitigate image distortion and improve recognition speed.Additionally,a posture and anomaly detection filter algorithm was designed to reduce errors caused by motion blur,posture abnormality and other factors.[Result]The mean absolute errors of the body length,shoulder width,and hip width of 24 pigs in five pigpens were less than 3 cm,the mean absolute percentage errors were maintained below 4%,6%and 7%respectively.The data processing speed reached 19.3 frames/s.[Conclusion]The proposed method for pig body measurement estimation based on keypoint detection and multi-object tracking provides a lightweight and easily deployable solution for automatic body measurement in pig farming scenarios.关键词
Yolov8-Pose/感兴趣区域/体尺估计/关键点/目标检测框/猪Key words
Yolov8-Pose/Region of interest/Body measurement estimation/Keypoint/Target detection box/Pig分类
农业科技引用本文复制引用
姚裔芃,徐晨,陈鸿基,刘勇,徐顺来..基于关键点检测和多目标跟踪的猪只体尺估计[J].华南农业大学学报,2024,45(5):722-729,8.基金项目
重庆市技术创新与应用发展专项重点项目(cstc2021jscx-dxwtBX0008) (cstc2021jscx-dxwtBX0008)
国家生猪技术创新中心先导科技项目(NCTIP-XD/B10) (NCTIP-XD/B10)