Detection of cow mounting behavior using region geometry and optical flow characteristics

Abstract Computer vision technology may improve the accuracy and robustness of estrus detection in dairy cows. In this study, we proposed a method for detecting mounting behavior in dairy cattle using the geometric and optical flow characteristics of identified image regions in videos taken on dairy farms. Videos captured on a farm often have a complex background, which can interfere with target detection. In this study, we used masking technology to remove the unrelated background, converted the RGB color space to HSV color space, and adjusted the summation coefficients of the HSV channels to improve the contrast between the cows and background images. Subsequently, the proposed Background Subtraction with Color and Texture Features (BSCTF) algorithm was used to detect cow regions. Then, to perform inter-frame differential processing on detection regions, the geometric and optical flow characteristics of the regions were extracted, and seven optimized features were used to construct regional feature vectors. Finally, a support vector machine (SVM) classifier was trained to classify the detected regions into mounting regions and non-mounting regions, which allowed the identification of mounting behavior. We obtained accuracy and omission rates of this detection method of 98.3% and 6.4%, respectively. The average recognition accuracy and false positive rates of the SVM classifier were 90.9% and 4.2%, respectively. These results demonstrate that the proposed method is effective for detecting the mounting behavior of dairy cows and is convenient for further judging whether cows are in estrus.

[1]  Robert Tibshirani,et al.  Discriminant Adaptive Nearest Neighbor Classification , 1995, IEEE Trans. Pattern Anal. Mach. Intell..

[2]  Huang Chao,et al.  Method of traceability information acquisition and transmission for dairy cattle based on integrating of RFID and WSN , 2011 .

[3]  Zhao Kaixuan,et al.  Target detection method for moving cows based on background subtraction , 2015 .

[4]  J. Lee,et al.  Automatic Detection of Cow’s Oestrus in Audio Surveillance System , 2013, Asian-Australasian journal of animal sciences.

[5]  J. Gatien,et al.  Can video cameras replace visual estrus detection in dairy cows? , 2012, Theriogenology.

[6]  Du-Ming Tsai,et al.  A motion and image analysis method for automatic detection of estrus and mating behavior in cattle , 2014 .

[7]  W Heuwieser,et al.  Body temperature around induced estrus in dairy cows. , 2011, Journal of dairy science.

[8]  W Heuwieser,et al.  Evaluation of oestrous detection in dairy cattle comparing an automated activity monitoring system to visual observation. , 2014, Reproduction in domestic animals = Zuchthygiene.

[9]  Ji Wen-yun A Method to Optimize Classifiers by Using Genetic Algorithms , 2002 .

[10]  A J Hackett,et al.  Estrus detection and subsequent reproduction in dairy cows continuously housed indoors. , 1984, Journal of dairy science.

[11]  Claudia Arcidiacono,et al.  The automatic detection of dairy cow feeding and standing behaviours in free-stall barns by a computer vision-based system , 2015 .

[12]  Y. Folman,et al.  Comparison of methods for the synchronization of estrous cycles in dairy cows. 1. Effects on plasma progesterone and manifestation of estrus. , 1990, Journal of dairy science.

[13]  Shan Xi Evaluation and Analysis of Visual Tracking Algorithms Based on Animal Video , 2014 .

[14]  Ryosuke Fujiki,et al.  Reliability of estrous detection in Holstein heifers using a radiotelemetric pedometer located on the neck or legs under different rearing conditions. , 2007, The Journal of reproduction and development.

[15]  Zhao Feng,et al.  Two-Dimensional Otsu's Curve Thresholding Segmentation Method for Gray-Level Images , 2007 .

[16]  Yongwha Chung,et al.  Automated Detection of Cattle Mounting using Side-View Camera , 2015, KSII Trans. Internet Inf. Syst..

[17]  Nitendra Rajput,et al.  Effective and accurate discrimination of individual dairy cattle through acoustic sensing , 2013 .

[18]  Alejandro Clausse,et al.  Application of color image segmentation to estrusc detection , 2006, J. Vis..

[19]  R. Firk,et al.  Automation of oestrus detection in dairy cows: a review , 2002 .

[20]  Zhang Yun Texture Feature Extraction of Flame Image Based on Gray-Scale Difference Statistics , 2013 .

[21]  L L Larson,et al.  Regulation of estrous cycles in dairy cattle: A review. , 1992, Theriogenology.

[22]  Abhisek Ukil,et al.  Support Vector Machine , 2007 .

[23]  John F Mee,et al.  Estrus detection and estrus characteristics in housed and pastured Holstein-Friesian cows. , 2010, Theriogenology.

[24]  C. Felton,et al.  Dairy cows continuously-housed in tie-stalls failed to manifest activity changes during estrus , 2012 .

[25]  Irenilza de Alencar Nääs,et al.  Improving detection of dairy cow estrus using fuzzy logic , 2010 .