Computer vision system for measuring individual cow feed intake using RGB-D camera and deep learning algorithms

Abstract This study entailed the design and implementation of a computer vision system for cow individual feed intake measurement, based on deep Convolutional Neural Networks (CNNs) models, and a low-cost RGB-D (Red, Green, Blue, Depth) camera. Individual feed intake of dairy cows is an important variable currently unavailable in commercial dairies. An RGB-D camera was positioned above the feeding area in an open cowshed. Feed intake was estimated by combining information from the RGB and depth images. Cow identification was conducted using the RGB image. Deep learning algorithms for identification and intake estimation were developed using CNN models. Data for CNN training were acquired by a specially developed automatic data acquisition system. A range of feed weights under varied configurations were collected over a period of seven days with the setup, which included an automatic scale, cameras, and a micro-controller. Test data for feed intake was acquired in an open cowshed research dairy farm, wherein the cows were fed Total Mix Ration (TMR). Images of cows eating over a period of 36 h provided the test data for cow identification. The system was able to accurately identify 93.65% of the cows. The amount of feed consumed, which ranged from 0 to 8 kg per meal, was measured with mean absolute and square errors (MAE and MSE) of 0.127 kg, and 0.034 k g 2 respectively. The analysis showed that the amount and diversity of data are important for model training. Better results were achieved for the model that was trained with high-diversity data than the model trained with homogeneous data (MAE of 1.025 kg, and MSE of 2.845 k g 2 for a model trained on shadow conditions only). Additionally, the training analysis shows that the model based on RGB-D data shows better results than the model based on depth channel data without RGB (MAE of 0.241 kg, and MSE of 0.106 k g 2 ). These results suggest the potential of low-cost cameras for individual feed intake measurements in advanced dairy farms.

[1]  D. Weary,et al.  Technical note: validation of a system for monitoring individual feeding and drinking behavior and intake in group-housed cattle. , 2007, Journal of dairy science.

[2]  J. Archer,et al.  Reducing the cost of beef production through genetic improvement in residual feed intake: Opportunity and challenges to application 1 , 2003 .

[3]  Stevan Stankovski,et al.  Dairy cow monitoring by RFID , 2012 .

[4]  J M Bewley,et al.  Short communication: Measuring feed volume and weight by machine vision. , 2016, Journal of dairy science.

[5]  Tarmo Lipping,et al.  Crop yield prediction with deep convolutional neural networks , 2019, Comput. Electron. Agric..

[6]  Kristof Mertens,et al.  Validation of a High Frequency Radio Frequency Identification (HF RFID) system for registering feeding patterns of growing-finishing pigs , 2014 .

[7]  Antonio M. López,et al.  The SYNTHIA Dataset: A Large Collection of Synthetic Images for Semantic Segmentation of Urban Scenes , 2016, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[8]  L. Holden,et al.  Evaluating the effect of ration composition on income over feed cost and milk yield. , 2014, Journal of dairy science.

[9]  Yael Edan,et al.  A real-time control system for individual dairy cow food intake , 1998 .

[10]  Victor Alchanatis,et al.  Detection and counting of flowers on apple trees for better chemical thinning decisions , 2019, Precision Agriculture.

[11]  M. Coffey,et al.  Changes in feeding behavior as possible indicators for the automatic monitoring of health disorders in dairy cows. , 2008, Journal of dairy science.

[12]  Dong Wang,et al.  Dairy goat detection based on Faster R-CNN from surveillance video , 2018, Comput. Electron. Agric..

[13]  Yan Zhang,et al.  A low shot learning method for tea leaf's disease identification , 2019, Comput. Electron. Agric..

[14]  M. VandeHaar Efficiency of nutrient use and relationship to profitability on dairy farms. , 1998, Journal of dairy science.

[15]  Ilan Halachmi,et al.  Assessing the potential of photogrammetry to monitor feed intake of dairy cows , 2019, Journal of Dairy Research.

[16]  Pedro Melo-Pinto,et al.  Grapevine variety identification using "Big Data" collected with miniaturized spectrometer combined with support vector machines and convolutional neural networks , 2019, Comput. Electron. Agric..

[17]  Javier Lacasta,et al.  End-to-end sequence labeling via deep learning for automatic extraction of agricultural regulations , 2019, Comput. Electron. Agric..

[18]  Zafer Cömert,et al.  Identification of haploid and diploid maize seeds using convolutional neural networks and a transfer learning approach , 2019, Comput. Electron. Agric..

[19]  Sergey Ioffe,et al.  Rethinking the Inception Architecture for Computer Vision , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[20]  Yang Yu,et al.  Fruit detection for strawberry harvesting robot in non-structural environment based on Mask-RCNN , 2019, Comput. Electron. Agric..

[21]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[22]  Kaiming He,et al.  Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[23]  M. Chizzotti,et al.  Technical note: Validation of a system for monitoring individual feeding behavior and individual feed intake in dairy cattle. , 2015, Journal of dairy science.

[24]  M. Wallace,et al.  Description and validation of the Moorepark Dairy System Model. , 2004, Journal of dairy science.

[25]  Ronald M. Summers,et al.  Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning , 2016, IEEE Transactions on Medical Imaging.

[26]  A Bach,et al.  Technical note: a computerized system for monitoring feeding behavior and individual feed intake of dairy cattle. , 2004, Journal of dairy science.

[27]  P. Narayanan,et al.  Recent progress in analog memory-based accelerators for deep learning , 2018, Journal of Physics D: Applied Physics.

[28]  H. Volden,et al.  Norfor - the nordic feed evaluation system. , 2011 .

[29]  Bart Sonck,et al.  Range measurements of a High Frequency Radio Frequency Identification (HF RFID) system for registering feeding patterns of growing-finishing pigs , 2014 .

[30]  Alejandro Zunino,et al.  Body condition estimation on cows from depth images using Convolutional Neural Networks , 2018, Comput. Electron. Agric..

[31]  Laurence T. Yang,et al.  A survey on deep learning for big data , 2018, Inf. Fusion.

[32]  D H Crews,et al.  Test duration for growth, feed intake, and feed efficiency in beef cattle using the GrowSafe System. , 2006, Journal of animal science.

[33]  C. V. Van Tassell,et al.  Defining the optimal period length and stage of growth or lactation to estimate residual feed intake in dairy cows. , 2019, Journal of dairy science.