节点文献
基于改进DeepSORT的群养生猪行为识别与跟踪方法
Behavior Recognition and Tracking Method of Group-housed Pigs Based on Improved DeepSORT Algorithm
【摘要】 为改善猪只重叠与遮挡造成的猪只身份编号(Identity, ID)频繁跳变,在YOLO v5s检测算法基础上,提出了改进DeepSORT行为跟踪算法。该算法改进包括两方面:一针对特定场景下猪只数量稳定的特点,改进跟踪算法的轨迹生成与匹配过程,降低ID切换次数,提升跟踪稳定性;二将YOLO v5s检测算法中的行为类别信息引入跟踪算法中,在跟踪中实现准确的猪只行为识别。实验结果表明,在目标检测方面,YOLO v5s的mAP为99.3%,F1值为98.7%。在重识别方面,实验的Top-1准确率达到99.88%。在跟踪方面,改进DeepSORT算法的MOTA为91.9%,IDF1为89.2%,IDS为33;与DeepSORT算法对比,MOTA和IDF1分别提升了1.0、16.9个百分点,IDS下降了83.8%。改进DeepSORT算法在群养环境下能够实现稳定ID的猪只行为跟踪,能够为无接触式的生猪自动监测提供技术支持。
【Abstract】 Behavior recognition and tracking of group-housed pigs are an effective aid to monitor pigs’ health status in smart farming. In real farming scenarios, it is still challenging to automatically track the behavior of group-housed pigs by using computer vision techniques due to the pigs’ overlapping occlusion and illumination change, which cause the identity(ID) of pig to switch wrongly. To improve the situation, an improved DeepSORT algorithm of behavior tracking based on YOLO v5 s was proposed. The improvement of the algorithm included two parts. One was that the trajectory processing and data association were improved in the scene where there was a fixed number of pigs. This reduced ID switch and enhanced tracking stability. The other was that the behavior information from YOLO v5 s detection algorithm was introduced into the tracking algorithm, thereby achieving behavior recognition of pigs in tracking. The experimental results showed that YOLO v5 s algorithm had a mAP of 99.3% and an F1 of 98.7% in object detection. In terms of re-identification, the Top-1 accuracy of the experiment was 99.88%. In terms of tracking, the method achieved a favorable performance with a MOTA of 91.9%, an IDF1 of 89.2% and an IDS of 33. Compared with the original DeepSORT algorithm, the proposed method improved 1.0 percentage points and 16.9 percentage points in MOTA and IDF1 respectively, and decreased 83.8% in IDS. This showed that the improved DeepSORT algorithm was able to achieve behavior tracking of group-housed pigs with stable ID. The method can provide technical support for no-contact automatic monitoring of pigs.
【Key words】 group-housed pigs; object detection; behavior recognition; multi-object tracking; DeepSORT;
- 【文献出处】 农业机械学报 ,Transactions of the Chinese Society for Agricultural Machinery , 编辑部邮箱 ,2022年08期
- 【分类号】S828;TP391.41
- 【下载频次】1225