A pig behavior-tracking method based on a multi-channel high-efficiency attention mechanism

Given that the pig behavior 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 to 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 to 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 and contributing to advances in precision livestock farming. • We first established an extensive multi-object pig tracking dataset with 180,321 images to address the limitations of existing datasets and enhance the generalization ability of the models. • We proposed a dual-branch high-efficiency channel attention-based convolutional module, referred to as Dual_ECA_BaseConv, resulting in Dual-YOLOX-Tiny with a pig detection accuracy of 98.3%. • We developed a novel multi-object pig detection and tracking algorithm by integrating the Dual-YOLOX-Tiny and Bytetrack algorithms, which demonstrated superior performance with a mAP value of 95.3% and an IDF1 score of 97.1% for pig tracking.

Authors

Institutions

Publication Details

Journal
Agriculture Communications
Published
2024-11-19
DOI
https://doi.org/10.1016/j.agrcom.2024.100062
Citations
10
Primary Topic
Advanced Chemical Sensor Technologies
Type
article
Field-Weighted Citation Impact
1.84
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A pig behavior-tracking method based on a multi-channel high-efficiency attention mechanism

Ronghua Gao, Qifeng Li, Rong Wang, Weihong Ma et al.
10 citations
Agriculture Communications
Advanced Chemical Sensor Technologies
1.84
article

A pig behavior-tracking method based on a multi-channel high-efficiency attention mechanism

Ronghua Gao, Qifeng Li, Rong Wang, Weihong Ma, Tonghui Wu, Zhenyuan Zhuo, Na Zhang, Yan Shi
article en
10 citations

Abstract

Given that the pig behavior 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 to 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 to 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 and contributing to advances in precision livestock farming. • We first established an extensive multi-object pig tracking dataset with 180,321 images to address the limitations of existing datasets and enhance the generalization ability of the models. • We proposed a dual-branch high-efficiency channel attention-based convolutional module, referred to as Dual_ECA_BaseConv, resulting in Dual-YOLOX-Tiny with a pig detection accuracy of 98.3%. • We developed a novel multi-object pig detection and tracking algorithm by integrating the Dual-YOLOX-Tiny and Bytetrack algorithms, which demonstrated superior performance with a mAP value of 95.3% and an IDF1 score of 97.1% for pig tracking.

Agriculture CommunicationsVol. 2(4)
Shanxi Agricultural University (CN), Beijing University of Agriculture (CN), National Engineering Research Center for Information Technology in Agriculture (CN), Northwest A&F University (CN)
Openalex Percentile: Top 15%
Advanced Chemical Sensor Technologies
1.84
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.