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

11 April 2025
UWE Bristol academics among emerging scientific leaders to receive share of £7.6m funding for health research
Two UWE Bristol researchers are among the recipients of a £7.6 million investment from the Academy of Medical Sciences aimed at tackling urgent health challenges.

09 April 2025
New research to support a thriving health and care workforce is launched
A national research partnership will explore ways to support wellbeing and sustainability in the NHS and social care same day and urgent care workforce.

08 April 2025
Associate Professor named among newest members of UK Young Academy of emerging leaders
The Royal Society has named UWE Bristol’s Dr Alexandros Stratakos, Associate Professor and Principal Investigator in Sustainable Agri-Food Production, as one of the emerging leaders across the UK who are the newest members of the UK Young Academy.

03 April 2025
Interdisciplinary studio bridging the gap between creative industries and technology opens at UWE Bristol
A new £3.6m laboratory has opened at UWE Bristol which will provide a unique arts, humanities and technologies multi-disciplinary space for researchers, entrepreneurs and businesses across the West of England.

28 February 2025
Paramedics in GP surgeries may ease workload but not NHS costs, study finds
Paramedics working in GP surgeries help reduce GP workload but do not contribute to cost savings to the NHS, according to the first major study of the clinical and cost-effectiveness of paramedic compared with GP consultations.

11 February 2025
Comics could help explain science in court, study finds
Comics explaining the complexities of forensic science in simple terms could improve understanding for jurors in court cases, research conducted at UWE Bristol suggests.

06 February 2025
Opinion: ‘We’re ensuring people have access to diverse images for healthcare’
Flicking through the pages of academic medical textbooks back in 2022, our team spotted a surprising omission: a stark absence of images of health conditions on darker skin tones.

03 February 2025
Groundbreaking UWE Bristol project based on children’s lived experiences of racism in the UK set to transform police training
UWE Bristol researchers have worked with over 1,000 primary-aged children to explore everyday experiences of racism to inform future police training.

30 January 2025
Women exercising in gyms face barriers including body image and harassment, study finds
Women exercising in gyms often feel judged for their appearance and performance, leading to a persistent sense of inadequacy, according to a new study.

22 January 2025
Can DIY greening solutions transform your street and combat climate change?
Do-it-yourself (DIY) greening kits could help safeguard the country's most vulnerable communities from the impacts of a rapidly changing environment, according to a new project supported by UWE Bristol.

14 January 2025
UWE Bristol secures British Council grant to strengthen educational ties with three leading Nigerian universities
UWE Bristol has secured a British Council Transnational Education (TNE) grant to work collaboratively with three of Nigeria’s foremost universities.

03 January 2025
Big leap forward for environmentally friendly ‘e-textiles’ technology
Research led by UWE Bristol and the University of Southampton has shown wearable electronic textiles (e-textiles) can be both sustainable and biodegradable.