Tracking and automatic behavioral analysis of group-housed pigs based on YOLOX+BoT-SORT-slim

被引:0
|
作者
Tu, Shuqin [1 ]
Cao, Yuefei [1 ]
Liang, Yun [1 ]
Zeng, Zhixiong [2 ]
Ou, Haoxuan [1 ]
Du, Jiaying [1 ]
Chen, Weidian [1 ]
机构
[1] South China Agr Univ, Coll Math & Informat, Guangzhou 510642, Peoples R China
[2] South China Agr Univ, Coll Engn, Guangzhou 510642, Peoples R China
来源
关键词
Lightweight algorithm; Behavioral analysis algorithm; MOT; 1-hour video tracking;
D O I
10.1016/j.atech.2024.100566
中图分类号
S2 [农业工程];
学科分类号
0828 ;
摘要
Automatic analysis of pig behavior is crucial for assessing their health and welfare status in group-housed pig farms. Currently, computer vision technology has been widely applied to recognize and track pig behavior. However, these applications lack the capability for automatic behavior analysis. Additionally, execution speed is crucial for long-term tracking, as the tracking target can easily be lost due to the complex background of pig farms, uneven lighting, and the similar appearance of pigs. To tackle these challenges, we propose a lightweight multi-object tracking (MOT) and behavioral analysis method: YOLOX+BoT-SORT-Slim. Firstly, the YOLOX detector detects pig targets and recognizes the pigs' four behaviors including "stand", "lie", "eat", and "other". Secondly, the BoT-SORT-Slim algorithm tracks the detected pigs and their behaviors at high speed. Finally, we devise a behavior automatic analysis algorithm that integrates the behavioral information and the tracking results to complete pigs' behavior analysis. To evaluate the proposed method, we conducted experiments on 1-minute, 10-minute, and 1-hour datasets. The experimental results show that on the 1-minute public and private test sets, the proposed method achieves 6.4 and 3.6 times the frame rate (FPS) of the original algorithm, with 68.05 FPS and 71.27 FPS, respectively. It also achieves a higher-order tracking accuracy (HOTA) of 84.7 % and 78.7 %, multi-object tracking accuracy (MOTA) of 98.3 % and 97.0 %, and an identification F1 score (IDF1) of 98.4 % and 93.4 %. The proposed method obtains the best results on all test sets compared to five other MOT algorithms including DeepSORT, StrongSORT, ByteTrack, OC-SORT, and BoT-SORT. In the 10-minute and 1-hour test sets, the proposed method achieves 70.28 and 72.24, 63.3 % and 76.4 %, 94.1 % and 99.6 %, and 72.5 % and 90.2 % for FPS, HOTA, MOTA, and IDF1, respectively. In terms of behavior analysis, three types of pigs' behavior analysis are plotted for each test video to assess their health status. The experimental results indicate that the proposed method performs excellently in behavior analysis and tracking, which can reliably monitor and manage pig behavior in real time, providing automated management technical support.
引用
收藏
页数:10
相关论文
共 38 条
  • [21] Integrating computer vision algorithms and RFID system for identification and tracking of group-housed animals: an example with pigs
    Mora, Monica
    Piles, Miriam
    David, Ingrid
    Rosa, Guilherme J. M.
    JOURNAL OF ANIMAL SCIENCE, 2024, 102
  • [22] Estimation of indirect social genetic effects for skin lesion count in group-housed pigs by quantifying behavioral interactions
    Angarita, Belcy K.
    Cantet, Rodolfo J. C.
    Wurtz, Kaitlin E.
    O'Malley, Carli, I
    Siegford, Janice M.
    Ernst, Catherine W.
    Turner, Simon P.
    Steibel, Juan P.
    JOURNAL OF ANIMAL SCIENCE, 2019, 97 (09) : 3658 - 3668
  • [23] Trajectory tracking for group housed pigs based on locations of head/tail
    Gao Y.
    Yu H.
    Lei M.
    Li X.
    Guo X.
    Diao Y.
    1600, Chinese Society of Agricultural Engineering (33): : 220 - 226
  • [24] THE EFFECTS OF PREGNANCY AND PARITY NUMBER ON BEHAVIORAL AND PHYSIOLOGICAL-RESPONSES RELATED TO THE WELFARE STATUS OF INDIVIDUAL AND GROUP-HOUSED PIGS
    BARNETT, JL
    HEMSWORTH, PH
    WINFIELD, CG
    FAHY, VA
    APPLIED ANIMAL BEHAVIOUR SCIENCE, 1987, 17 (3-4) : 229 - 243
  • [25] Analysis of pig posture detection in group-housed pigs using deep learning-based mask scoring instance segmentation
    Devi, Salam Jayachitra
    Doley, Juwar
    Bharati, Jaya
    Mohan, N. H.
    Gupta, Vivek Kumar
    ANIMAL SCIENCE JOURNAL, 2024, 95 (01)
  • [26] A kinetic energy model based on machine vision for recognition of aggressive behaviours among group-housed pigs
    Chen Chen
    Zhu Weixing
    Guo Yizheng
    Ma Changhua
    Huang Weijia
    Ruan Chengzhi
    LIVESTOCK SCIENCE, 2018, 218 : 70 - 78
  • [27] Foreground detection of group-housed pigs based on the combination of Mixture of Gaussians using prediction mechanism and threshold segmentation
    Guo, Yizheng
    Zhu, Weixing
    Jiao, Pengpeng
    Chen, Jiali
    BIOSYSTEMS ENGINEERING, 2014, 125 : 98 - 104
  • [28] Body Temperature Detection of Group-Housed Pigs Based on the Pairing of Left and Right Ear Roots in Thermal Images
    Xiang, Rong
    Zhang, Yi
    Lin, Hongjian
    Fu, Yingchun
    Rao, Xiuqin
    Pan, Jinming
    Pan, Chenghao
    ANIMALS, 2025, 15 (05):
  • [29] Behavior Recognition and Tracking Method of Group housed Pigs Based on Improved DeepSORT Algorithm
    Tu S.
    Liu X.
    Liang Y.
    Zhang Y.
    Huang L.
    Tang Y.
    Nongye Jixie Xuebao/Transactions of the Chinese Society for Agricultural Machinery, 2022, 53 (08): : 345 - 352
  • [30] EFFECTS OF PEN SIZE, PARTIAL STALLS AND METHOD OF FEEDING ON WELFARE-RELATED BEHAVIORAL AND PHYSIOLOGICAL-RESPONSES OF GROUP-HOUSED PIGS
    BARNETT, JL
    HEMSWORTH, PH
    CRONIN, GM
    NEWMAN, EA
    MCCALLUM, TH
    CHILTON, D
    APPLIED ANIMAL BEHAVIOUR SCIENCE, 1992, 34 (03) : 207 - 220