SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios

In pig farming, multi-object tracking (MOT) algorithms are effective tools for identifying individual pigs and monitoring their health, which enhances management efficiency and intelligence. However, due to the considerable variation in breeding environments across different pig farms, existing mode...

Full description

Saved in:
Bibliographic Details
Main Authors: Tao Liu, Dengfei Jie, Junwei Zhuang, Dehui Zhang, Jincheng He
Format: Article
Language:English
Published: MDPI AG 2025-05-01
Series:Animals
Subjects:
Online Access:https://www.mdpi.com/2076-2615/15/11/1543
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849330928596287488
author Tao Liu
Dengfei Jie
Junwei Zhuang
Dehui Zhang
Jincheng He
author_facet Tao Liu
Dengfei Jie
Junwei Zhuang
Dehui Zhang
Jincheng He
author_sort Tao Liu
collection DOAJ
description In pig farming, multi-object tracking (MOT) algorithms are effective tools for identifying individual pigs and monitoring their health, which enhances management efficiency and intelligence. However, due to the considerable variation in breeding environments across different pig farms, existing models often struggle to perform well in unfamiliar settings. To enhance the model’s generalization in diverse tracking scenarios, we have innovatively proposed the SDGTrack method. This method improves tracking performance across various farming environments by enhancing the model’s adaptability to different domains and integrating an optimized tracking strategy, significantly increasing the generalization of group pig tracking technology across different scenarios. To comprehensively evaluate the potential of the SDGTrack method, we constructed a multi-scenario dataset that includes both public and private data, spanning ten distinct pig farming environments. We only used a portion of the daytime scenes as the training set, while the remaining daytime and nighttime scenes were used as the validation set for evaluation. The experimental results demonstrate that SDGTrack achieved a MOTA score of 80.9%, an IDSW of 24, and an IDF1 score of 85.1% across various scenarios. Compared to the original CSTrack method, SDGTrack improved the MOTA and IDF1 scores by 16.7% and 33.3%, respectively, while significantly reducing the number of ID switches by 94.6%. These findings indicate that SDGTrack offers robust tracking capabilities in previously unseen farming environments, providing a strong technical foundation for monitoring pigs in different settings.
format Article
id doaj-art-ff6c96aff0114868b75c11f7ddf73018
institution Kabale University
issn 2076-2615
language English
publishDate 2025-05-01
publisher MDPI AG
record_format Article
series Animals
spelling doaj-art-ff6c96aff0114868b75c11f7ddf730182025-08-20T03:46:47ZengMDPI AGAnimals2076-26152025-05-011511154310.3390/ani15111543SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming ScenariosTao Liu0Dengfei Jie1Junwei Zhuang2Dehui Zhang3Jincheng He4College of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350002, ChinaCollege of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350002, ChinaCollege of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350002, ChinaCollege of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350002, ChinaCollege of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350002, ChinaIn pig farming, multi-object tracking (MOT) algorithms are effective tools for identifying individual pigs and monitoring their health, which enhances management efficiency and intelligence. However, due to the considerable variation in breeding environments across different pig farms, existing models often struggle to perform well in unfamiliar settings. To enhance the model’s generalization in diverse tracking scenarios, we have innovatively proposed the SDGTrack method. This method improves tracking performance across various farming environments by enhancing the model’s adaptability to different domains and integrating an optimized tracking strategy, significantly increasing the generalization of group pig tracking technology across different scenarios. To comprehensively evaluate the potential of the SDGTrack method, we constructed a multi-scenario dataset that includes both public and private data, spanning ten distinct pig farming environments. We only used a portion of the daytime scenes as the training set, while the remaining daytime and nighttime scenes were used as the validation set for evaluation. The experimental results demonstrate that SDGTrack achieved a MOTA score of 80.9%, an IDSW of 24, and an IDF1 score of 85.1% across various scenarios. Compared to the original CSTrack method, SDGTrack improved the MOTA and IDF1 scores by 16.7% and 33.3%, respectively, while significantly reducing the number of ID switches by 94.6%. These findings indicate that SDGTrack offers robust tracking capabilities in previously unseen farming environments, providing a strong technical foundation for monitoring pigs in different settings.https://www.mdpi.com/2076-2615/15/11/1543computer visionmulti-object trackingmulti-scene generalizationgroup-housed pigs
spellingShingle Tao Liu
Dengfei Jie
Junwei Zhuang
Dehui Zhang
Jincheng He
SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios
Animals
computer vision
multi-object tracking
multi-scene generalization
group-housed pigs
title SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios
title_full SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios
title_fullStr SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios
title_full_unstemmed SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios
title_short SDGTrack: A Multi-Target Tracking Method for Pigs in Multiple Farming Scenarios
title_sort sdgtrack a multi target tracking method for pigs in multiple farming scenarios
topic computer vision
multi-object tracking
multi-scene generalization
group-housed pigs
url https://www.mdpi.com/2076-2615/15/11/1543
work_keys_str_mv AT taoliu sdgtrackamultitargettrackingmethodforpigsinmultiplefarmingscenarios
AT dengfeijie sdgtrackamultitargettrackingmethodforpigsinmultiplefarmingscenarios
AT junweizhuang sdgtrackamultitargettrackingmethodforpigsinmultiplefarmingscenarios
AT dehuizhang sdgtrackamultitargettrackingmethodforpigsinmultiplefarmingscenarios
AT jinchenghe sdgtrackamultitargettrackingmethodforpigsinmultiplefarmingscenarios