Deep learning image recognition of cow behavior and an open data set acquired near an automatic milking robot

Authors

Keywords:

animal well-being, video recording

Abstract

Production animals enjoying good health and well-being are more productive and have a higher output quality. Several technical solutions have been used to monitor the animals’ welfare: those based on computer vision provide cost-efficient and scalable options. In this work, we performed a continuous two-month image acquisition of cows in front of an automatic milking station and divided the data into ten different classes related to the most important activities appearing in the images. The data consisted of almost 19 hours of video, equivalent to more than 1.7 million still images. Based on these imaged, we then implemented a convolutional neural network classifier to recognize the cows' behavior. The network was tested using cross-validation methodology and achieved an 86% precision rate and 85% recall rate in the classification. The data and the Python program code used in this study are made available. An image data set that directly resembles the harsh conditions inside a barn and can be used for deep learning purposes has not been previously made available.

Downloads

Download data is not yet available.
Section
Articles

Published

2022-06-16 — Updated on 2022-07-07

Versions

How to Cite

Koskela, O., Benitez Pereira, L. S., Pölönen, I., Aronen, I., & Kunttu, I. (2022). Deep learning image recognition of cow behavior and an open data set acquired near an automatic milking robot. Agricultural and Food Science, 31(2), 89–103. https://doi.org/10.23986/afsci.111665 (Original work published June 16, 2022)
Received 2021-10-11
Accepted 2022-06-09
Published 2022-07-07