Scalable and automated Zebu cattle breed identification system using low-complexity AI models
0
Abstract
The objective of study was to investigate computationally efficient, low-complexity ML models for automated image-based identification of important milch zebu cattle breeds, i.e. Sahiwal, Red Sindhi, Hariana and Tharparkar. For each breed, images were captured from frontal and left-side views to ensure a comprehensive visual representation of significant features. The dataset comprised images across eight classes of each breed. While deep learning models generally offer high representational capacity, they require substantial computational resources, memory, and training time, which may limit their deployment in resource-constrained agricultural environments. So, four classification models were studied and compared: CNN, Multi-Layer Perceptron (MLP), Random Forest (RF), and K-Nearest Neighbour (KNN). To enhance computational efficiency, dimensionality reduction techniques were applied where appropriate. The results demonstrated that light-weight CNN model, found as top performer, achieving 95% accuracy with high precision, recall, and F1-scores across eight breed-view classes, closely followed by 90% accuracy for MLP, RF and 88% accuracy for KNN, demonstrating robust feature handling post-PCA dimensionality reduction while maintaining low computational demands suitable for field deployment. The study indicated that low-complexity machine learning models can serve as efficient and deployable alternatives to deep neural networks for cattle breed classification, enabling scalable implementation in smart dairy monitoring systems
Downloads
References
Alfarhood S, Alrayeh A, Safran M, Alfarhood M and Che D. 2023. Image-based Arabian camel breed classification using transfer learning on CNNs. Applied Sciences 13(14): 8192.
Arya S, Devi I, Tomar D S, Singh M, Warhade R, Gautam A and Mohanty T K. 2025. Development of a lightweight deep learning model for the identification and classification of indigenous cattle breeds. Indian Journal of Dairy Science 78(4): 344–49.
FAO. 2012. Phenotypic Characterization of Animal Genetic Resources. Animal Production and Health Guidelines No. 11. Food and Agriculture Organization, Rome.
Fu Y, Huang X and Li Y. 2020. Horse breed classification based on transfer learning. (In) Proceedings of the 4th International Conference on Advances in Image Processing (ICAIP), pp. 42–47. ACM.
Guo T, Dong J, Li H and Gao Y. 2017. Simple convolutional neural network on image classification. (In) Proceedings of the 2017 IEEE 2nd International Conference on Big Data Analysis (ICBDA), pp. 721–24. IEEE.
Gupta H, Jindal P, Verma O P, Arya R K, Ateya A A, Soliman N F and Mohan V. 2022. Computer vision-based approach for automatic detection of dairy cow breed. Electronics 11(22): 3791.
Hossain M E, Kabir M A, Zheng L, Swain D L, McGrath S and Medway J. 2022. A systematic review of machine learning techniques for cattle identification: datasets, methods and future directions. Artificial Intelligence in Agriculture 6(1): 138–55.
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(2): 15–25.
Jwade S A, Guzzomi A and Mian A. 2019. On farm automatic sheep breed classification using deep learning. Computers and Electronics in Agriculture 167: 105055.
Kim J, Kim B S and Savarese S. 2012. Comparing image classification methods: k-nearest-neighbor and support-vector machines. (In) Proceedings of the WSEAS International Conference on Computer Engineering and Applications, pp. 133–38.
Livestock Census. 2019. 20th Livestock Census: All India Report. Ministry of Animal Husbandry, Dairying and Fisheries, Government of India, New Delhi.
NBAGR. 2025. Information System on Animal Genetic Resources of India. National Bureau of Animal Genetic Resources, Karnal. https://nbagr.res.in/ (accessed 2025).
Pan Y, Jin H, Gao J and Rauf H T. 2022. Identification of buffalo breeds using self-activated-based improved convolutional neural networks. Agriculture 12(9): 1386.
Thai L H, Hai T S and Thuy N T. 2012. Image classification using support vector machine and artificial neural network. International Journal of Information Technology and Computer Science 4(5): 32–38.
Warhade R, Devi I, Singh N, Arya S, Dudi K, Lathwal S S and Tomar D S. 2024. Attention module incorporated transfer learning empowered deep learning-based models for classification of phenotypically similar tropical cattle breeds (Bos indicus). Tropical Animal Health and Production 56(1): 192.
Weber F de L, Weber V A de M, Menezes G V, Oliveira Junior A S da, Alves D A, Oliveira M V M de, Matsubara E T, Pistori H and Abreu U G P de. 2020. Recognition of Pantaneira cattle breed using computer vision and convolutional neural networks. Computers and Electronics in Agriculture 175(1): 105548.
Xu B, Ye Y and Nie L. 2012. An improved random forest classifier for image classification. (In) Proceedings of the 2012 IEEE International Conference on Information and Automation, pp. 795–800. IEEE.
Submitted
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.