Olli Koskela, Leonardo Santiago Benitez Pereira, I. Pölönen, I. Aronen, I. Kunttu
{"title":"Deep learning image recognition of cow behavior and an open data set acquired near an automatic milking robot","authors":"Olli Koskela, Leonardo Santiago Benitez Pereira, I. Pölönen, I. Aronen, I. Kunttu","doi":"10.23986/afsci.111665","DOIUrl":null,"url":null,"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.","PeriodicalId":7393,"journal":{"name":"Agricultural and Food Science","volume":"21 1","pages":""},"PeriodicalIF":1.0000,"publicationDate":"2022-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Agricultural and Food Science","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.23986/afsci.111665","RegionNum":4,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 1
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.
期刊介绍:
Agricultural and Food Science (AFSci) publishes original research reports on agriculture and food research related to primary production and which have a northern dimension. The fields within the scope of the journal include agricultural economics, agricultural engineering, animal science, environmental science, horticulture, plant and soil science and primary production-related food science. Papers covering both basic and applied research are welcome.
AFSci is published by the Scientific Agricultural Society of Finland. AFSci, former The Journal of the Scientific Agricultural Society of Finland, has been published regularly since 1928. Alongside the printed version, online publishing began in 2000. Since the year 2010 Agricultural and Food Science has only been available online as an Open Access journal, provided to the user free of charge. Full texts are available online from 1945 on.