Towards on-farm pig face recognition using convolutional neural networks

Hansen, M. F. , Smith, M. , Smith, L. , Salter, M. , Baxter, E. , Farish, M. and Grieve, B. and AB Agri, SRUC, Manchester University (2018) Towards on-farm pig face recognition using convolutional neural networks. Computers in Industry, 98. pp. 145-152. ISSN 0166-3615 Available from:

Full text not available from this repository.


Identification of individual livestock such as pigs and cows has become a pressing issue in recent years as intensification practices continue to be adopted and precise objective measurements are required (e.g. weight). Current best practice involves the use of RFID tags which are time-consuming for the farmer and distressing for the animal to fit. To overcome this, non-invasive biometrics are proposed by using the face of the animal. We test this in a farm environment, on 10 individual pigs using three techniques adopted from the human face recognition literature: Fisherfaces, the VGG-Face pre-trained face convolutional neural network (CNN) model and our own CNN model that we train using an artificially augmented data set. Our results show that accurate individual pig recognition is possible with accuracy rates of 96.7% on 1553 images. Class Activated Mapping using Grad-CAM is used to show the regions that our network uses to discriminate between pigs.

Item Type: Article
Uncontrolled Keywords: pig face recognition, deep learning, convolutional neural network, biometrics
Faculty/Department: Faculty of Environment and Technology > Department of Engineering Design and Mathematics
Depositing User: Dr M. Hansen
Date Deposited: 06 Mar 2018 15:35
Last Modified: 08 Jun 2018 18:54


Activity Overview
Origin of downloads

Additional statistics for this repository are available via IRStats2

Actions (login required)

View Item View Item