Automated dairy cattle identification:A YOLOv5-Siamese framework for Deoni breed
120 / 10
DOI:
https://doi.org/10.56093/ijans.v96i5.175242Keywords:
Breed identification, Deoni cattle, Machine learning, YOLOv5Abstract
Accurate identification of indigenous cattle breeds is important for livestock management, selective breeding, and conservation of valuable genetic resources. Deoni cattle, a recognized indigenous breed of India, exhibit considerable phenotypic variation that can make visual breed identification challenging and subjective. The present study investigated the feasibility of using a deep learning-based approach for automated Deoni cattle identification from images. A hybrid framework combining object detection for feature localization and a Siamese neural network for similarity learning was developed. A dataset comprising images of Deoni cattle, other cattle breeds, and non- cattle animal species was assembled and evaluated under varying field conditions, including differences in pose, illumination, and background. The model extracted discriminative visual features from facial and morphological characteristics and mapped them into an embedding space to distinguish similar and dissimilar images. Performance was assessed using standard classification and verification metrics. The proposed framework achieved effective discrimination between Deoni cattle and non-target animals within the available dataset and demonstrated consistent performance across different image conditions. However, the study was conducted using a relatively limited dataset, and further validation on larger and more diverse populations is required to establish broader generalizability. The findings indicated that deep learning-based image analysis can serve as a promising non-invasive tool for cattle breed identification and may support digital livestock record systems, breed characterization, and conservation initiatives.
Downloads
References
Dong X and Shen J. 2021. Triplet loss in Siamese network for object tracking. Beijing Lab of Intelligent Information Technology, School of Computer Science, Beijing Institute of Technology; Inception Institute of Artificial Intelligence. Pp. 101–105.
Dong X and Shen J. 2021. Triplet loss in Siamese network for object tracking. Beijing Lab of Intelligent Information Technology, School of Computer Science, Beijing Institute of Technology, China and Inception Institute of Artificial Intelligence, Abu Dhabi, UAE. Pp. 256–265.
Dongre VB, Gandhi RS, Salunke VM, Kokate LS, Durge SM, Khandait VN and Patil PV. 2017. Present status and future prospects of Deoni cattle. Indian Journal of Animal Sciences 87(7): 800–803. DOI: https://doi.org/10.56093/ijans.v87i7.72112
Gupta H, Jindal P, Verma OP, Arya RK, Ateya AA, Soliman NF and Mohan V. 2022. Computer vision-based approach for automatic detection of dairy cow breed. Electronics 11(22): 3791. DOI: https://doi.org/10.3390/electronics11223791
Jogi R, Temburnikar G, Jadhav A, Biradar A, Gajbhiv S and Malge A. 2024. Cattle breed classification techniques: Framework and algorithm evaluation. Journal of Propulsion Technology 45(1): 1739–1745.
Khosla P, Teterwak P, Wang C, Sarna A, Tian Y, Isola P, Maschinot A, Liu C and Krishnan D. 2020. Supervised contrastive learning. Advances in Neural Information Processing Systems 33: 18661–18673.
Kumar S, Singh SK. 2020. Cattle recognition: A new frontier in visual animal biometrics research. Proceedings of the National Academy of Sciences, India Section A: Physical Sciences 90(4): 689–708. DOI: https://doi.org/10.1007/s40010-019-00610-x
Li D, Li B, Li Q, Wang Y, Yang M and Han M. 2024. Cattle identification based on multiple feature decision layer fusion. Scientific Reports 14: 26631. DOI: https://doi.org/10.1038/s41598-024-76718-x
Sharma A, Randewich L, Andrew W, Hannuna SL, Campbell NW, Mullan S, Dowsey AW, Smith M, Hansen M and Burghardt T. 2024. Universal bovine identification via depth data and deep metric learning. arXiv preprint abs/2404.00172. DOI: https://doi.org/10.1016/j.compag.2024.109657
Weber de Lima F, Magalhães LP, Pereira DRA, Monteiro PAJ, Pereira LAA, Oliveira LFS and Salgado MCA. 2020. Recognition of Pantaneira cattle breed using computer vision and convolutional neural networks. Computers and Electronics in Agriculture 175: 105548. DOI: https://doi.org/10.1016/j.compag.2020.105548
Zhao C, Wang H, Zhang Y, Zhao Y, Gao J. 2023. Breed identification using breed-informative SNPs and machine learning based on whole genome sequence data and SNP chip data. Journal of Animal Science and Biotechnology 14(85): 1–13. DOI: https://doi.org/10.1186/s40104-023-00880-x
Downloads
Published
Issue
Section
License
Copyright (c) 2026 The Indian Journal of Animal Sciences

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The copyright of the articles published in The Indian Journal of Animal Sciences is vested with the Indian Council of Agricultural Research, which reserves the right to enter into any agreement with any organization in India or abroad, for reprography, photocopying, storage and dissemination of information. The Council has no objection to using the material, provided the information is not being utilized for commercial purposes and wherever the information is being used, proper credit is given to ICAR.