{"title":"Re-identification for long-term tracking and management of health and welfare challenges in pigs","authors":"Anicetus Odo , Niall McLaughlin , Ilias Kyriazakis","doi":"10.1016/j.biosystemseng.2025.02.001","DOIUrl":null,"url":null,"abstract":"<div><div>The fine-grained management of farm animals using video analytics relies on long-term visual tracking of individual animals. When an individual is occluded or exits the camera's field of view, tracking can be lost. The problem of using visual features to re-assign identity after loss of tracking is known as re-identification. In the case of pigs, this problem is especially challenging due to the similar appearances of most individual animals within a pen.</div><div>To address this issue, an image-based pig re-identification method is developed that is invariant to pose, illumination, and camera viewpoint. This method allows pigs to be reidentified, enabling long-term monitoring. This approach uses a Vision-Transformer model (ViT) previously developed for person re-identification. The model was trained using specifically designed pig re-identification datasets with a diverse range of housing and management conditions. These datasets use overhead cameras, allowing an investigation of the effect of the detection approach on re-identification performance. Re-identification using a traditional axis-aligned pig detector was compared with a recently developed oriented pig detector that better matches the pig's pose when extracting the pig from the wider image. It was found that the use of an oriented detector led to improved performance. The proposed system achieved a peak rank-1 Cumulative Matching Characteristic (CMC) performance of 90.5%. Furthermore, it is shown that this model is capable of generalising across different farms, achieving an average rank-1 CMC 81.8% in the cross-farm setting. Finally, the proposed re-identification features can be incorporated into an existing multi-object tracking system to improve its performance at reacquiring pig identities when tracking is lost. Overall, this work demonstrates the potential of using visual re-identification features of pigs to enable individual-level animal management.</div></div>","PeriodicalId":9173,"journal":{"name":"Biosystems Engineering","volume":"251 ","pages":"Pages 89-100"},"PeriodicalIF":4.4000,"publicationDate":"2025-02-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Biosystems Engineering","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S153751102500025X","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
The fine-grained management of farm animals using video analytics relies on long-term visual tracking of individual animals. When an individual is occluded or exits the camera's field of view, tracking can be lost. The problem of using visual features to re-assign identity after loss of tracking is known as re-identification. In the case of pigs, this problem is especially challenging due to the similar appearances of most individual animals within a pen.
To address this issue, an image-based pig re-identification method is developed that is invariant to pose, illumination, and camera viewpoint. This method allows pigs to be reidentified, enabling long-term monitoring. This approach uses a Vision-Transformer model (ViT) previously developed for person re-identification. The model was trained using specifically designed pig re-identification datasets with a diverse range of housing and management conditions. These datasets use overhead cameras, allowing an investigation of the effect of the detection approach on re-identification performance. Re-identification using a traditional axis-aligned pig detector was compared with a recently developed oriented pig detector that better matches the pig's pose when extracting the pig from the wider image. It was found that the use of an oriented detector led to improved performance. The proposed system achieved a peak rank-1 Cumulative Matching Characteristic (CMC) performance of 90.5%. Furthermore, it is shown that this model is capable of generalising across different farms, achieving an average rank-1 CMC 81.8% in the cross-farm setting. Finally, the proposed re-identification features can be incorporated into an existing multi-object tracking system to improve its performance at reacquiring pig identities when tracking is lost. Overall, this work demonstrates the potential of using visual re-identification features of pigs to enable individual-level animal management.
期刊介绍:
Biosystems Engineering publishes research in engineering and the physical sciences that represent advances in understanding or modelling of the performance of biological systems for sustainable developments in land use and the environment, agriculture and amenity, bioproduction processes and the food chain. The subject matter of the journal reflects the wide range and interdisciplinary nature of research in engineering for biological systems.