Automatic body condition scoring system for dairy cows based on depth-image analysis

Kaixuan Zhao, Anthony N. Shelley, Daniel L. Lau, Karmella A. Dolecheck, Jeffrey M. Bewley

Abstract


Body condition score (BCS) is an important management tool in the modern dairy industry, and one of the basic techniques for animal welfare and precision dairy farming. The objective of this study was to use a vision system to evaluate the fat cover on the back of cows and to automatically determine BCS. A 3D camera was used to capture the depth images of the back of cows twice a day as each cow passed beneath the camera. Through background subtraction, the back area of the cow was extracted from the depth image. The thurl, sacral ligament, hook bone, and pin bone were located via depth image analysis and evaluated by calculating their visibility and curvature, and those four anatomical features were used to measure fatness. A dataset containing 4820 depth images of cows with 7 BCS levels was built, among which 952 images were used as training data. Taking four anatomical features as input and BCS as output, decision tree learning, linear regression, and BP network were calibrated on the training dataset and tested on the entire dataset. On average, the BP network model scored each cow within 0.25 BCS points compared to their manual scores during the study period. The measured values of visibility and curvature used in this study have strong correlations with BCS and can be used to automatically assess BCS with high accuracy. This study demonstrates that the automatic body condition scoring system has the possibility of being more accurate than human scoring.
Keywords: body condition score, depth-image processing, curvature analysis, machine learning, precision dairy farming
DOI: 10.25165/j.ijabe.20201304.5655

Citation: Zhao K X, Shelley A N, Lau D L, Dolecheck K A, Bewley J M. Automatic body condition scoring system for dairy cows based on depth-image analysis. Int J Agric & Biol Eng, 2020; 13(4): 45–54.

Keywords


body condition score, depth-image processing, curvature analysis, machine learning, precision dairy farming

Full Text:

PDF

References


Grainger C, Wilhelms G D, Mcgowan A A. Effect of body condition at calving and level of feeding in early lactation on milk production of dairy cows. Australian Journal of Experimental Agriculture, 1982; 22(115): 9–17.

Enevoldsen C, Kristensen T. Estimation of body weight from body size measurements and body condition scores in dairy cows. Journal of dairy science, 1997; 80(9): 1988–1995.

Stockdale C R. Body condition at calving and the performance of dairy cows in early lactation under Australian conditions: a review. Australian Journal of Experimental Agriculture, 2001; 41(6): 823–839.

Berry D. P, Macdonald K A, Penno J W, ROCHE J R. Association between body condition score and live weight in pasture-based Holstein-Friesian dairy cows. Journal of dairy research, 2006; 73(4): 487–491.

Russel A J F, Doney J M, Gunn R G. Subjective assessment of body fat in live sheep. The Journal of Agricultural Science, 1969; 72(3): 451–454.

Roche J R, Friggens N C, Kay J K, Fisher M W, Stafford K. J, Berry D P. Invited review: Body condition score and its association with dairy cow productivity, health, and welfare. J Dairy Sci, 2009; 92(12): 5769–5801.

Bewley J M, Schutz M M. Review: An interdisciplinary review of body condition scoring for dairy cattle. Prof. Anim. Sci., 2009; 24: 507–529.

Waltner S S, Mcnamara J P, Hillers J K. Relationships of body condition score to production variables in high producing Holstein dairy cattle. J Dairy Sci, 1993; 76(11): 3410–3419.

Heuer C, Schukken Y H, Dobbelaar P. Postpartum body condition score and results from the first test day milk as predictors of disease, fertility, yield, and culling in commercial dairy herds. Journal of Dairy Science, 1999; 82(2): 295–304.

Pryce J E, Coffey M P, Simm G. The relationship between body

condition score and reproductive performance. Journal of Dairy Science, 2001; 84(6): 1508–1515.

Randall L V, Green M J, Chagunda M G G, Mason C, Archer S C, Green L E, et al. Low body condition predisposes cattle to lameness: An 8-year study of one dairy herd. Journal of Dairy Science, 2015; 98(6): 3766–3777.

Bewley J M, Schutz M M. An interdisciplinary review of body condition scoring for dairy cattle. The professional animal scientist, 2008; 24(6): 507–529.

Bewley J M, Boehlje M D, Gray A W, Hogeveen H, Kenyou S J, Eicher S D, et al. Assessing the potential value for an automated dairy cattle body condition scoring system through stochastic simulation. Agricultural Finance Review, 2010; 70(1): 126–150.

Elcanco. The 5-point body condition scoring system. Available: https://www.elanco.us/pdfs/ai10752-body-condition-score-insert.pdf.

Bewley J M, Peacock A M, Lewis O, Boyce R E, Roberts D J, Coffey M P, et al. Potential for estimation of body condition scores in dairy cattle from digital images. J Dairy Sci, 2008; 91(9): 3439–3453.

Azzaro G, Caccamo M, Ferguson J D, Battiato S, Farinella G M, Guarnera G C, et al. Objective estimation of body condition score by modeling cow body shape from digital images. J Dairy Sci, 2011; 94(4): 2126–2137.

Halachmi I, Polak P, Roberts D J, Klopcic M. Cow body shape and automation of condition scoring. J Dairy Sci, 2008; 91(11): 4444–4451.

Halachmi I, Klopčič M, Polak P, Roberts D J, Bewley J M. Automatic assessment of dairy cattle body condition score using thermal imaging. Computers and Electronics in Agriculture, 2013; 99: 35–40.

Bercovich A, Edan Y, Alchanatis V, Moallem U, Parmet Y, Honig H, et al. Development of an automatic cow body condition scoring using body shape signature and Fourier descriptors. J Dairy Sci, 2013; 96(12): 8047–8059.

Weber A, Salau J, Haas J H, Junge W, Bauer U, Harms J, et al. Estimation of backfat thickness using extracted traits from an automatic 3D optical system in lactating Holstein-Friesian cows. Livestock Science, 2014; 165: 129–137.

Fischer A, Luginbuhl T, Delattre L, Delouard J M, Faverdin P. Rear shape in 3 dimensions summarized by principal component analysis is a good predictor of body condition score in Holstein dairy cows. J Dairy Sci, 2015; 98(7): 4465–4476.

Delaval. DeLaval Body Condition Scoring BCS. Available: http://www.delavalcorporate.com/our-products-and-services/farm-support/delaval-body-condition-scoring-bcs/.

Sandgren C H, Emanuelson U. Consistency of measurements from an automatic body condition scoring camera. Precision Dairy Farming 2016, Leeuwarden: Wageningen Academic Publishers, 2016; pp. 285–290.

Spoliansky R, Edan Y, Parmet Y, Halachmi I. Development of automatic body condition scoring using a low-cost 3-dimensional Kinect camera. J Dairy Sci, 2016; 99(9): 7714–7725.

Alvarez J R, Arroqui M, Mangudo P, Toloza J, Jatip D, Rodríguez J M, et al. Body condition estimation on cows from depth images using Convolutional Neural Networks. Computers Electronics in Agriculture, 2018; 155: 12–22.

Utgoff P E, Berkman N C, Clouse J A. Decision tree induction based on efficient tree restructuring. Machine Learning, 1997; 29: 5–44.

Lecun Y, Bottou L, Bengio Y, Haffner P. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 1998; 86(11): 2278–2324.

Yao X. Evolving artificial neural networks. Proceedings of the IEEE, 1999; 87(9): 1423–1447.




Copyright (c) 2020 International Journal of Agricultural and Biological Engineering

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

2023-2026 Copyright IJABE Editing and Publishing Office