Automated recognition of postures and drinking behaviour for the detection of compromised health in pigs

Ali Alameer, Ilias Kyriazakis, Jaume Bacardit

Research output: Contribution to journalArticlepeer-review

8 Citations (Scopus)
33 Downloads (Pure)


Changes in pig behaviours are a useful aid in detecting early signs of compromised health and welfare. In commercial settings, automatic detection of pig behaviours through visual imaging remains a challenge due to farm demanding conditions, e.g., occlusion of one pig from another. Here, two deep learning-based detector methods were developed to identify pig postures and drinking behaviours of group-housed pigs. We first tested the system ability to detect changes in these measures at group-level during routine management. We then demonstrated the ability of our automated methods to identify behaviours of individual animals with a mean average precision of 0.989±0.009, under a variety of settings. When the pig feeding regime was disrupted, we automatically detected the expected deviations from the daily feeding routine in standing, lateral lying and drinking behaviours. These experiments demonstrate that the method is capable of robustly and accurately monitoring individual pig behaviours under commercial conditions, without the need for additional sensors or individual pig identification, hence providing a scalable technology to improve the health and well-being of farm animals. The method has the potential to transform how livestock are monitored and address issues in livestock farming, such as targeted treatment of individuals with medication.
Original languageEnglish
Article number13665
JournalScientific Reports
Publication statusPublished - 12 Aug 2020


  • Machine Vision
  • Machine Learning
  • Artificial Intelligence
  • Image Processing
  • Deep Learning


Dive into the research topics of 'Automated recognition of postures and drinking behaviour for the detection of compromised health in pigs'. Together they form a unique fingerprint.

Cite this