Automatic detection of ruminant cows’ mouth area during rumination based on machine vision and video analysis technology
Keywords:
ruminant cows, mouth area, automatic detection, machine vision, video analysis technology, ruminant behavior, optical flowAbstract
In order to realize the automatic monitoring of ruminant activities of cows, an automatic detection method for the mouth area of ruminant cows based on machine vision technology was studied. Optical flow was used to calculate the relative motion speed of each pixel in the video frame images. The candidate mouth region with large motion ranges was extracted, and a series of processing methods, such as grayscale processing, threshold segmentation, pixel point expansion and adjacent region merging, were carried out to extract the real area of cows’ mouth. To verify the accuracy of the proposed method, six videos with a total length of 96 min were selected for this research. The results showed that the highest accuracy was 87.80%, the average accuracy was 76.46% and the average running time of the algorithm was 6.39 s. All the results showed that this method can be used to detect the mouth area automatically, which lays the foundation for automatic monitoring of cows’ ruminant behavior. Keywords: ruminant cows, mouth area, automatic detection, machine vision, video analysis technology, ruminant behavior, optical flow DOI: 10.25165/j.ijabe.20191201.4268 Citation: Mao Y R, He D J, Song H B. Automatic detection of ruminant cows’ mouth area during rumination based on machine vision and video analysis technology. Int J Agric & Biol Eng, 2019; 12(1): 186–191.References
Shao D. Researches on variation of the rumination and its influencing factors in lactating cows. Jilin University, 2015. (in Chinese)
Viazzi S, Bahr C, Schlagetertello A, Van H T, Romanini C E, Pluk A. Analysis of individual classification of lameness using automatic measurement of back posture in dairy cattle. Journal of Dairy Science, 2013; 96(1): 257.
Zhu W, Pu X, Li X, Lu, C. Automatic identification system of pigs with suspected case based on behavior monitoring. Transactions of the CSAE, 2010; 26(1): 188–192. (in Chinese)
Yin L, Liu C, Hong T, Zhou H, Kaehsiang K. Design of system for monitoring dairy cattle's behavioral features based on wireless sensor networks. Transactions of the CSAE, 2010; 26(3): 203–208. (in Chinese)
Viazzi S, Bahr C, Hertem T V, Schlagetertello A, Romanini C E B, Halachmi I. Comparison of a three-dimensional and two-dimensional camera system for automated measurement of back posture in dairy cows. Computers and Electronics in Agriculture, 2014; 100(1): 139–147.
Ji B, Zhu W, Liu B, Li X, Ma C. Video analysis for tachypnea of pigs based on fluctuating ridge-abdomen. Transactions of the CSAE, 2011; 27(1): 191–195. (in Chinese)
Zhao K, He D. Recognition of individual dairy cattle based on convolutional neural networks. Transactions of the CSAE, 2015; 31(5): 181–187. (in Chinese)
Watanabe N, Sakanoue S, Kawamura K, Kozakai T. Development of an automatic classification system for eating, ruminating and resting behavior of cattle using an accelerometer. Grassland Science, 2008; 54(4): 231–237.
Braun U, Trösch L, Nydegger F, Hässig M. Evaluation of eating and rumination behaviour in cows using a noseband pressure sensor. Bmc Veterinary Research, 2013; 9(1): 164.
He D, Meng F, Zhao K, Zhang Z. Recognition of calf basic behaviors based on video analysis. Transactions of the CSAM, 2016; 47(9): 294–300. (in Chinese)
Kristensen H H, Cornou C. Automatic detection of deviations in activity levels in groups of broiler chickens- A pilot study. Biosystems Engineering, 2011; 109(4): 369–376.
Pluk A, Bahr C, Poursaberi A, Maertens W, Van N A, Berckmans D. Automatic measurement of touch and release angles of the fetlock joint for lameness detection in dairy cattle using vision techniques. Journal of Dairy Science, 2012; 95(4): 1738–1748.
Porto S M C, Arcidiacono C, Anguzza U, Cascone G. A computer vision-based system for the automatic detection of lying behaviour of dairy cows in free-stall barns. Biosystems Engineering, 2013; 115(2): 184–194.
Lao F, Teng G, Li J, Yu L, Li Z. Behavior recognition method for individual laying hen based on computer vision. Transactions of the CSAE, 2012; 28(24): 157–163. (in Chinese)
Wen T, Hong T, Li Z, Luo W, Long X, Chen H. Statistics and tracking of Bactrocera Dorsalis based on machine vision. Transactions of the CSAE, 2011; 27(10): 137–141. (in Chinese)
Zhou Z, Huang Y, Li X, Wen D, Wang C, Tao H. Automatic detecting and grading method of potatoes based on machine vision. Transactions of the CSAE, 2012; 28(7): 178–183. (in Chinese)
Xia M, Cai C. Cattle face recognition using sparse representation classifier. ICIC Express Letters, Part B: Applications, 2012; 3(6): 1499–1505.
Cai C, Li J. Cattle face recognition using local binary pattern descriptor. Signal and Information Processing Association Summit and Conference, IEEE, 2014; pp.1–4.
Chen Y, He D, Fu Y, Song H. Intelligent monitoring method of cow ruminant behavior based on video analysis technology. International Int J Agric & Biol Eng, 2017; 10(5): 194–202.
Guan F, Wang R. Detection of moving target based on Horn-Schunck optical flow. Instrumentation Technology, 2015; (2): 43–45. (in Chinese)
Downloads
Published
How to Cite
Issue
Section
License
IJABE is an international peer reviewed, open access journal, adopting Creative Commons Copyright Notices as follows.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).