Facial recognition technology aims to detect emotional state in pigs

State-of-the-art facial recognition technology is being used in an attempt to detect different emotional states in pigs.
Machine vision experts at the University of the West of England (UWE Bristol) have teamed up with animal behaviourists from Scotland's Rural College (SRUC) in Edinburgh for the study, which it is hoped will lead to a tool that can monitor individual animals' faces and alert farmers to any health and welfare problems.
Pigs are highly expressive and SRUC research has previously shown they can signal their intentions to other pigs using different facial expressions. There is also evidence of different expressions when they are in pain or under stress.
At SRUC's Pig Research Centre in Midlothian, scientists are capturing 3D and 2D facial images of the breeding sow population under various, typical commercial situations that are likely to result in different emotional states. For example, sows can experience lameness and could show different facial expressions relating to pain before and after being given pain relief. Detecting positive emotional state is more novel but sows are highly food motivated and appear calm and content when satiated. They hope this mood could be reflected in sows facial expressions.
Images are then processed at UWE Bristol's Centre for Machine Vision, where various state-of-the-art machine learning techniques are being developed to automatically identify different emotions conveyed by particular facial expressions. After validating these techniques, the team will develop the technology for on-farm use with commercial partners where individual sows in large herds will be monitored continuously.
Professor Melvyn Smith from UWE Bristol's Centre for Machine Vision, part of the Bristol Robotics Laboratory, said: "Machine vision technology offers the potential to realise a low-cost, non-intrusive and practical means to biometrically identify individual animals on the farm. Our work has already demonstrated a 97% accuracy at facial recognition in pigs. Our next step will be, for the first time, to explore the potential for using machine vision to automatically recognise facial expressions that are linked with core emotion states, such as happiness or distress, in the identified pigs."
Dr Emma Baxter from SRUC said: "Early identification of pig health issues gives farmers the potential to improve animal wellbeing by tackling any problems quickly and implementing tailored treatment for individuals. This will reduce production costs by preventing impact of health issues on performance.
"By focussing on the pig's face, we hope to deliver a truly animal-centric welfare assessment technique, where the animal can "tell" us how it feels about its own individual experiences and environment. This allows insight into both short-term emotional reactions and long-term individual 'moods' of animals under our care."
The study, which is being funded by the Biotechnology and Biological Sciences Research Council (BBSRC), is also being supported by industry stakeholders JSR Genetics Ltd and Garth Pig Practice as well as precision livestock specialists Agsenze.
Related news

07 October 2025
Academic playing role in project to find hidden graves in Mexico using drone technology
A UWE Bristol lecturer is playing a part in a project using drone technology to locate concealed graves in Mexico.

01 October 2025
New funding for researchers to develop trustworthy clinical AI for assessing brain activity
Researchers have received funding from UK Research and Innovation to help bring their innovative brain-monitoring AI technology closer to real-world use.

29 September 2025
Smartphone use hitting struggling pupils hardest, major study finds
Young people struggling with their studies at school are much more likely to have negative experiences on their smartphones than their better performing peers, a major new study has found.

16 September 2025
Dedicated liaison roles ‘instrumental’ for police forces to build trust with sex workers, research finds
A new study from UWE Bristol researchers has found that a dedicated liaison officer could help rebuild trust between the police and sex workers.

11 September 2025
New study to investigate augmented reality as an intervention for emotionally based school avoidance
A UWE Bristol researcher will support a new study exploring whether an augmented reality board game can help young people with emotionally based school avoidance (EBSA).

22 August 2025
A decade of Future Space: How UWE Bristol’s enterprise zone is powering innovation and economic growth
Tracey John, Director of Research and External Engagement, reflects on the impact of Future Space and its role as a launchpad for cutting-edge companies shaping the future of how we live and work.

17 July 2025
Want social change? A deeper understanding could be key, study suggests
New study suggests a deeper understanding of social change could help close the gap between challenges and actions, especially on issues like climate change.

16 July 2025
Vast majority of rural councils have no targets for social housing, study finds
New research reveals a serious shortfall in rural social housing, with only 20 per cent of local authorities setting targets to deliver it.

16 July 2025
Researchers launch support hub for people with visible differences and their families
A first of its kind website offering evidence-based psychological support for people with visible differences and their families has been launched by university researchers.

11 July 2025
Wound dressings developed with support from UWE Bristol to be launched by global firm
Technology that a team of UWE Bristol scientists helped develop to aid the healing of chronic wounds will be used in new ‘smart dressings’ being launched by global medical company.

03 July 2025
Research lab The Brunel Centre opens to power sustainable and inclusive growth for the West of England
A new data and research centre designed to support sustainable and inclusive growth and industrial strategy in the region, has officially launched.

02 July 2025
Bristol’s trailblazing community-led climate action to expand across the West of England
UWE Bristol has been appointed as the evaluation and policy partner on a £1.75m project led by Bristol Climate & Nature Partnership.