A Pig Behavior-tracking Method Based on a Multi-Channel High-Efficiency Attention Mechanism

Qifeng Li,Zhenyuan Zhuo,Ronghua Gao,Rong Wang,Na Zhang,Yan Shi,Tonghui Wu,Weihong Ma
DOI: https://doi.org/10.1016/j.agrcom.2024.100062
2024-01-01
Agriculture Communications
Abstract:Because the behavior of pigs reflects their health status, continuous and precise monitoring of behavior is important for effective health management and welfare protection. To mitigate potential tracking failures during analysis of video footage, we introduced a novel multi-target pig tracking method that consisted of detection and tracking components. The detection model was enhanced with an efficient attention mechanism and a Cross Stage Partial Darknet backbone network, which significantly improved detection accuracy. The tracking component used the Bytetrack algorithm to accurately track the movement trajectories of individual pigs. Together, these components were combined into the Dual-YOLOX-Tiny-ByteTrack (DYTB) model, which demonstrated superior performance in automatic monitoring of pig behaviors compared with previously published approaches. We established multi-object pig tracking datasets with 180,321 images to evaluate this method. The DYTB method achieved a pig detection accuracy of 98.3% and tracking accuracies of 95.3% and 97.1%. Compared with the YOLOX-Tiny-ByteTrack base model, DYTB showed a 3.4% improvement in multiple object tracking accuracy, making it a robust method for non-contact, intelligent monitoring of pig health that can contribute to advances in precision livestock farming.
What problem does this paper attempt to address?