You are currently viewing a new version of our website. To view the old version click .
Animals
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

18 December 2025

Pig Health Assessment Framework Based on Behavioural Analysis

,
,
,
,
,
and
1
College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China
2
College of Computer Science, Guangdong Polytechnic Normal University, Guangzhou 510665, China
3
Institute of Facility Agriculture, Guangdong Academy of Agricultural Sciences, Guangzhou 510665, China
4
College of Computer Science and Electronic Engineering, Hunan University, Changsha 410082, China
This article belongs to the Special Issue Mathematical Modeling and Computer Vision in Animal Activity or Behavior: 2nd Edition

Simple Summary

This study proposes a pig health assessment framework based on multi-object tracking (MOT), which automatically tracks and quantifies pig behaviour in large-scale pig farming. The framework consists of an MOT module, a behaviour statistics and analysis module, and a health assessment module. Through the MOT module and the behaviour statistics and analysis module, the framework accurately captures the behaviour patterns of individual pigs, which are then used by the health assessment module to evaluate their health status. Experimental results show that the framework performs effectively in both tracking accuracy and health assessment, providing reliable technical support for health monitoring in pig farming.

Abstract

The long-term behavioural analysis and health assessment of Pigs are essential for intelligent management in modern pig farming. Manual tracking and behaviour analysis for constructing health assessment systems are often subjective, inconsistent, and lack sufficient accuracy. To overcome these challenges, this study proposes a health assessment framework for pigs based on multi-object behaviour tracking and analysis under large-scale pig farming. The proposed framework consists of three modules: an improved ByteTrack-based multi-object tracking (MOT) module, a behaviour statistics and analysis module, and a health assessment module. The pipeline involves using the MOT module to obtain pigs’ behavioural data, followed by the behaviour analysis module and health assessment module to analyse and evaluate the health status of the pigs. Two datasets comprising 18 videos of healthy pigs and 10 videos of unhealthy pigs were created to validate the framework. Experimental results demonstrated that the improved ByteTrack algorithm achieved high performance in MOT metrics, including a High-Order Tracking Accuracy (HOTA) of 74.0%, Multiple Object Tracking Accuracy (MOTA) of 92.2%, Identification F1 Score (IDF1) of 89.4%, and 43 identity switches (IDs). The behaviour statistics derived from these tracking results enabled reliable inputs for the health assessment model, which accurately assesses the health status of each pig. The results demonstrate that the proposed framework provides an effective solution and reliable technical support for pig health monitoring in modern pig farming.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.