Computer Vision-Based Approach for Automatic Detection of Dairy Cow Breed

Purpose: Identification of individual cow breeds may offer various farming opportunities for disease detection, disease prevention and treatment, fertility and feeding, and welfare monitoring. However, due to the large population of cows with hundreds of breeds and almost identical visible appearance, their exact identification and detection become a tedious task. Therefore, the automatic detection of cow breeds would benefit the dairy industry. This study presents a computer-vision-based approach for identifying the breed of individual cattle. Methods: In this study, eight breeds of cows are considered to verify the classification process: Afrikaner, Brown Swiss, Gyr, Holstein Friesian, Limousin, Marchigiana, White Park, and Simmental cattle. A custom dataset is developed using web-mining techniques, comprising 1835 images grouped into 238, 223, 220, 212, 253, 185, 257, and 247 images for individual breeds. YOLOv4, a deep learning approach, is employed for breed classification and localization. The performance of the YOLOv4 algorithm is evaluated by training the model on different sets of training parameters. Results: Comprehensive analysis of the experimental results reveal that the proposed approach achieves an accuracy of 81.07%, with maximum kappa of 0.78 obtained at an image size of 608 × 608 and an intersection over union (IoU) threshold of 0.75 on the test dataset. Conclusions: The model performed better with YOLOv4 relative to other compared models. This places the proposed model among the top-ranked cow breed detection models. For future recommendations, it would be beneficial to incorporate simple tracking techniques between video frames to check the efficiency of this work.

[1]  Md Ekramul Hossain,et al.  A Systematic Review of Machine Learning Techniques for Cattle Identification: Datasets, Methods and Future Directions , 2022, Artificial Intelligence in Agriculture.

[2]  Law Kumar Singh,et al.  Deep learning system applicability for rapid glaucoma prediction from fundus images across various data sets , 2022, Evolving Systems.

[3]  Owais Bhat,et al.  Evaluation of deep learning model for human activity recognition , 2021, Evolving Systems.

[4]  G. Falzon,et al.  Automated Muzzle Detection and Biometric Identification via Few-Shot Deep Transfer Learning of Mixed Breed Cattle , 2021, Agronomy.

[5]  T. Bresolin,et al.  A review of deep learning algorithms for computer vision systems in livestock , 2021, Livestock Science.

[6]  S. Sukkarieh,et al.  Intelligent Perception-Based Cattle Lameness Detection and Behaviour Recognition: A Review , 2021, Animals : an open access journal from MDPI.

[7]  Om Prakash Verma,et al.  YOLOv4 algorithm for the real-time detection of fire and personal protective equipments at construction sites , 2021, Multimedia Tools and Applications.

[8]  Om Prakash Verma,et al.  Monitoring and surveillance of urban road traffic using low altitude drone images: a deep learning approach , 2021, Multimedia Tools and Applications.

[9]  Tarun Kumar Sharma,et al.  Comparative performance analysis of quantum machine learning with deep learning for diabetes prediction , 2021, Complex & Intelligent Systems.

[10]  N. Campbell,et al.  Visual Identification of Individual Holstein Friesian Cattle via Deep Metric Learning , 2020, Comput. Electron. Agric..

[11]  Luigi di Stefano,et al.  A computer vision approach based on deep learning for the detection of dairy cows in free stall barn , 2021, Comput. Electron. Agric..

[12]  Chang Wook Ahn,et al.  A Novel YOLOv3 Algorithm-Based Deep Learning Approach for Waste Segregation: Towards Smart Waste Management , 2020, Electronics.

[13]  Hemerson Pistori,et al.  Recognition of Pantaneira cattle breed using computer vision and convolutional neural networks , 2020, Comput. Electron. Agric..

[14]  Rotimi-Williams BELLO,et al.  Deep Learning-Based Architectures for Recognition of Cow Using Cow Nose Image Pattern , 2020, GAZI UNIVERSITY JOURNAL OF SCIENCE.

[15]  Santosh Kumar,et al.  Cattle Recognition: A New Frontier in Visual Animal Biometrics Research , 2020, Proceedings of the National Academy of Sciences, India Section A: Physical Sciences.

[16]  Andrew Guzzomi,et al.  On farm automatic sheep breed classification using deep learning , 2019, Comput. Electron. Agric..

[17]  Ali Ismail Awad,et al.  Bag-of-Visual-Words for Cattle Identification from Muzzle Print Images , 2019, Applied Sciences.

[18]  Rohit Singh Doubling farmer's income: The case of India , 2019, World Food Policy.

[19]  Juha T. Tanttu,et al.  Deep Learning Case Study for Automatic Bird Identification , 2018, Applied Sciences.

[20]  Amit Kumar Singh,et al.  Deep Learning Framework for Recognition of Cattle Using Muzzle Point Image Pattern , 2018 .

[21]  Amit Kumar Singh,et al.  Real-time recognition of cattle using animal biometrics , 2017, Journal of Real-Time Image Processing.

[22]  Ali Ismail Awad,et al.  From classical methods to animal biometrics: A review on cattle identification and tracking , 2016, Comput. Electron. Agric..

[23]  Wei Liu,et al.  SSD: Single Shot MultiBox Detector , 2015, ECCV.

[24]  Ali Farhadi,et al.  You Only Look Once: Unified, Real-Time Object Detection , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[25]  S. Dash,et al.  ROLE OF DAIRY INDUSTRY IN RURAL DEVELOPMENT IN INDIA , 2016 .

[26]  F. Tiezzi,et al.  A comparison of the predicted coagulation characteristics and composition of milk from multi-breed herds of Holstein-Friesian, Brown Swiss and Simmental cows , 2014 .

[27]  Ying Wen,et al.  A new cow identification system based on iris analysis and recognition , 2014, Int. J. Biom..

[28]  D E Bauman,et al.  The effect of breed, parity, and stage of lactation on conjugated linoleic acid (CLA) in milk fat from dairy cows. , 2003, Journal of dairy science.