Behavior Recognition and Tracking Method of Group housed Pigs Based on Improved DeepSORT Algorithm

被引:0
|
作者
Tu S. [1 ]
Liu X. [1 ]
Liang Y. [1 ]
Zhang Y. [2 ]
Huang L. [1 ]
Tang Y. [1 ]
机构
[1] College of Mathematics and Informatics, South China Agricultural University, Guangzhou
[2] College of Electronic Engineering, South China Agricultural University, Guangzhou
关键词
behavior recognition; DeepSORT; group-housed pigs; multi-object tracking; object detection;
D O I
10.6041/j.issn.1000-1298.2022.08.037
中图分类号
学科分类号
摘要
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 v5s 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 v5s detection algorithm was introduced into the tracking algorithm, thereby achieving behavior recognition of pigs in tracking. The experimental results showed that YOLO v5s 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. © 2022 Chinese Society of Agricultural Machinery. All rights reserved.
引用
收藏
页码:345 / 352
页数:7
相关论文
共 30 条
  • [1] SHEN Mingxia, WANG Mengyu, LIU Longshen, Et al., Recognition method of pig cough based on deep neural network, Transactions of the Chinese Society for Agricultural Machinery, 53, 5, pp. 257-266, (2022)
  • [2] LI Dan, ZHANG Kaifeng, LI Xingjian, Et al., Mounting behavior recognition for pigs based on Mask R CNN, Transactions of the Chinese Society for Agricultural Machinery, 50, pp. 261-266, (2019)
  • [3] CHEN C, ZHU W X, NORTON T., Behaviour recognition of pigs and cattle: journey from computer vision to deep learning, Computers and Electronics in Agriculture, 187, (2021)
  • [4] ZHU W X, GUO Y Z, JIAO P P, Et al., Recognition and drinking behaviour analysis of individual pigs based on machine vision [J], Livestock Science, 205, pp. 129-136, (2017)
  • [5] LI Juxia, LI Yanwen, NIU Fan, Et al., Pig diet behavior detection method based on YOLOv4, Transactions of the Chinese Society for Agricultural Machinery, 52, 3, pp. 251-256, (2021)
  • [6] ALAMEER A, KYRIAZAKIS I, BACARDIT J., Automated recognition of postures and drinking behaviour for the detection of compromised health in pigs, Scientific Reports, 10, 1, (2020)
  • [7] GAO Yun, CHEN Bin, LIAO Huimin, Et al., Recognition method for aggressive behavior of group pigs based on deep learning, Transactions of the CSAE, 35, 23, pp. 192-200, (2019)
  • [8] XIAO D Q, FENG A J, LIU J., Detection and tracking of pigs in natural environments based on video analysis, International Journal of Agricultural and Biological Engineering, 12, 4, pp. 116-126, (2019)
  • [9] SUN L Q, CHEN S H, LIU T, Et al., Pig target tracking algorithm based on multi-channel color feature fusion, International Journal of Agricultural and Biological Engineering, 13, 3, pp. 180-185, (2020)
  • [10] ZHANG L, GRAY H, YE X J, Et al., Automatic individual pig detection and tracking in pig farms, Sensors, 19, 5, (2019)