Deep Learning-Driven Cattle and Buffalo Classification Using CNN- YOLO Hybrid Framework for Smart Livestock Management

Main Article Content

Ms. Priya Kumawat

Abstract

Accurate identification and classification of livestock animals is a fundamental requirement in modern agricultural management. This paper proposes an image- based deep learning framework to automatically distinguish between cattle and buffaloes using Convolutional Neural Networks (CNN) integrated with a YOLO-based object detection pipeline. A curated dataset of 2,500 annotated images— comprising 1,300 cattle and 1,200 buffalo images—was utilized for training and evaluation. The preprocessing pipeline applies resizing to 224×224 pixels, normalization, and data augmentation techniques including random rotation, horizontal flipping, and brightness adjustment to enhance model generalization. The CNN model extracts multi-scale hierarchical features, while YOLO localizes individual animals within cluttered farm backgrounds prior to classification. Experimental evaluation demonstrates an overall classification accuracy of 93.2 %, with precision of 0.92 and recall of 0.94. The proposed system significantly reduces dependence on manual observation and supports real-time, automated livestock monitoring. These results confirm the viability of deep learning for scalable and accurate animal type classification in smart farming environments

Article Details

Section

Articles

Author Biography

Ms. Priya Kumawat

Department of Computer Science & Engineering

Geetanjali Institute of Technical Studies

 Udaipur, India

References

[1] M. E. Hossain et al., “A systematic review of machine learning techniques for cattle identification,” J. Agricultural Informatics, vol. 13, no. 2, pp. 1–16, 2022.

[2] O. Ermetin, “Deep-learning-based buffalo identification through muzzle dermatoglyphics images,” Archives Animal Breeding, vol. 68, no. 6,pp. 473–482, 2025.

[3] Taunk, D., Patel, M. (2021). Hybrid Restricted Boltzmann Algorithm for Audio Genre Classification. In: Sheth, A., Sinhal, A., Shrivastava, A., Pandey, A.K. (eds) Intelligent Systems. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-16-2248-9_11

[4] J. Redmon and A. Farhadi, “YOLOv3: An incremental improvement,”arXiv:1804.02767,2