Using AI to gauge the emotional state of cows and pigs

Using AI to gauge the emotional state of cows and pigs
Sample of images from the data set. Facial features of pigs and cows expressing varying emotions. Credit: biorxiv (2021). DOI: 10.1101/2021.04.09.439122

An animal scientist with Wageningen University & Research in the Netherlands has created an artificial-intelligence-based application that can gauge the emotional state of farm animals based on photographs taken with a smartphone. In his paper uploaded to the bioRxiv preprint server, Suresh Neethirajan describes his app and how well it worked when tested.

Prior research and anecdotal evidence has shown that are more productive when they are not living under stressful conditions. This has led to changes in , such as shielding cows' eyes from the spike that is used to kill them prior to slaughter to prevent stress hormones from entering the meat. More recent research has suggested that it may not be enough to shield from stressful situations—adapting their environment to promote peacefulness or even playfulness can produce desired results, as well. Happy cows or goats, for example, are likely to produce more milk than those that are bored. But as Neethirajan notes, the emotional state of an animal can be quite subjective, leading to incorrect conclusions. To address this problem, he adapted human face recognition software for use in detecting emotions in cows and pigs.

The system is called WUR Wolf and is based on several pieces of technology: the YOLO Object Detection System, the YOLOv4 that works with a convolution and Faster R-CNN, which also allows for detection of objects, but does so with different feature sets. For training, he used the Nvidia GeForece GTX 1080 Ti GRP running on a CUDA 9.0 computer. The data consisted of thousands of images of cows and pigs taken with a smartphone from six farms located in several countries with associated classification labels indicating which could be associated with which mood—raised ears on a cow, for example, generally indicate the animal is excited.

Testing showed the system to be approximately 85% accurate. Neethirajan suggests more tweaks are needed, but notes that once it is finished, it could serve as a useful tool for improving the quality of products produced via continuous monitoring of livestock.

More information: Suresh Neethirajan. Happy Cow or Thinking Pig? WUR Wolf – Facial Coding Platform for Measuring Emotions in Farm Animals, biorxiv (2021). DOI: 10.1101/2021.04.09.439122

© 2021 Science X Network

Citation: Using AI to gauge the emotional state of cows and pigs (2021, April 29) retrieved 24 April 2024 from https://phys.org/news/2021-04-ai-gauge-emotional-state-cows.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Study shows how cows reveal feelings using their ears

141 shares

Feedback to editors