Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs

Animal welfare is not only an ethically important consideration in good animal husbandry but can also have a significant effect on an animal’s productivity. The aim of this paper was to show that a reduction in animal welfare, in the form of increased stress, can be identified in pigs from frontal i...

Full description

Bibliographic Details
Main Authors: Mark F. Hansen, Emma M. Baxter, Kenneth M. D. Rutherford, Agnieszka Futro, Melvyn L. Smith, Lyndon N. Smith
Format: Article
Language:English
Published: MDPI AG 2021-09-01
Series:Agriculture
Subjects:
Online Access:https://www.mdpi.com/2077-0472/11/9/847
id doaj-5086edca81354fc0936c4fc0bb08dd47
record_format Article
spelling doaj-5086edca81354fc0936c4fc0bb08dd472021-09-25T23:33:34ZengMDPI AGAgriculture2077-04722021-09-011184784710.3390/agriculture11090847Towards Facial Expression Recognition for On-Farm Welfare Assessment in PigsMark F. Hansen0Emma M. Baxter1Kenneth M. D. Rutherford2Agnieszka Futro3Melvyn L. Smith4Lyndon N. Smith5Centre for Machine Vision, BRL, UWE Bristol, Bristol BS16 1QY, UKAnimal Behaviour and Welfare, Animal and Veterinary Sciences Research Group, SRUC, West Mains Road, Edinburgh EH9 3JG, UKAnimal Behaviour and Welfare, Animal and Veterinary Sciences Research Group, SRUC, West Mains Road, Edinburgh EH9 3JG, UKAnimal Behaviour and Welfare, Animal and Veterinary Sciences Research Group, SRUC, West Mains Road, Edinburgh EH9 3JG, UKCentre for Machine Vision, BRL, UWE Bristol, Bristol BS16 1QY, UKCentre for Machine Vision, BRL, UWE Bristol, Bristol BS16 1QY, UKAnimal welfare is not only an ethically important consideration in good animal husbandry but can also have a significant effect on an animal’s productivity. The aim of this paper was to show that a reduction in animal welfare, in the form of increased stress, can be identified in pigs from frontal images of the animals. We trained a convolutional neural network (CNN) using a leave-one-out design and showed that it is able to discriminate between stressed and unstressed pigs with an accuracy of >90% in unseen animals. Grad-CAM was used to identify the animal regions used, and these supported those used in manual assessments such as the Pig Grimace Scale. This innovative work paves the way for further work examining both positive and negative welfare states with the aim of developing an automated system that can be used in precision livestock farming to improve animal welfare.https://www.mdpi.com/2077-0472/11/9/847animal welfarepigsdeep learningcomputer visionstress detectionfacial expression recognition
collection DOAJ
language English
format Article
sources DOAJ
author Mark F. Hansen
Emma M. Baxter
Kenneth M. D. Rutherford
Agnieszka Futro
Melvyn L. Smith
Lyndon N. Smith
spellingShingle Mark F. Hansen
Emma M. Baxter
Kenneth M. D. Rutherford
Agnieszka Futro
Melvyn L. Smith
Lyndon N. Smith
Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs
Agriculture
animal welfare
pigs
deep learning
computer vision
stress detection
facial expression recognition
author_facet Mark F. Hansen
Emma M. Baxter
Kenneth M. D. Rutherford
Agnieszka Futro
Melvyn L. Smith
Lyndon N. Smith
author_sort Mark F. Hansen
title Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs
title_short Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs
title_full Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs
title_fullStr Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs
title_full_unstemmed Towards Facial Expression Recognition for On-Farm Welfare Assessment in Pigs
title_sort towards facial expression recognition for on-farm welfare assessment in pigs
publisher MDPI AG
series Agriculture
issn 2077-0472
publishDate 2021-09-01
description Animal welfare is not only an ethically important consideration in good animal husbandry but can also have a significant effect on an animal’s productivity. The aim of this paper was to show that a reduction in animal welfare, in the form of increased stress, can be identified in pigs from frontal images of the animals. We trained a convolutional neural network (CNN) using a leave-one-out design and showed that it is able to discriminate between stressed and unstressed pigs with an accuracy of >90% in unseen animals. Grad-CAM was used to identify the animal regions used, and these supported those used in manual assessments such as the Pig Grimace Scale. This innovative work paves the way for further work examining both positive and negative welfare states with the aim of developing an automated system that can be used in precision livestock farming to improve animal welfare.
topic animal welfare
pigs
deep learning
computer vision
stress detection
facial expression recognition
url https://www.mdpi.com/2077-0472/11/9/847
work_keys_str_mv AT markfhansen towardsfacialexpressionrecognitionforonfarmwelfareassessmentinpigs
AT emmambaxter towardsfacialexpressionrecognitionforonfarmwelfareassessmentinpigs
AT kennethmdrutherford towardsfacialexpressionrecognitionforonfarmwelfareassessmentinpigs
AT agnieszkafutro towardsfacialexpressionrecognitionforonfarmwelfareassessmentinpigs
AT melvynlsmith towardsfacialexpressionrecognitionforonfarmwelfareassessmentinpigs
AT lyndonnsmith towardsfacialexpressionrecognitionforonfarmwelfareassessmentinpigs
_version_ 1717368619285872640