RSIS Repository Open-access research from RSIS International journals

International Journal of Research and Scientific Innovation (IJRSI)

Machine Learning Image Classification model to Identify Cattle in Kenya

byBenard Onyango; Obadiah Musau; Kennedy Ondimu

Published October 25, 2025  •  Vol. 12, Issue 9, pp. 4748–4753Open Access
DOI: 10.51244/IJRSI.2025.1208004131

Abstract

Classifying cattle using muzzle images is an emerging technology in livestock management for recognition and classification. This study used Convolutional Neural Networks (CNN) algorithm to uniquely identify cattle by using their muzzle patterns which are unique to every single cattle. The study used a dataset of 4,923 muzzle images of different cattle breeds which were pre-processed to improve the dataset’s performance and reduce overfitting. The Convolution Neural Network used several convolutional layers to capture muzzle patterns, pooling and dense layers to differentiate breeds. Adam optimizer and categorical cross-entropy loss were employed for model training. The results revealed high accuracy, verifying muzzle images as an effective biometric method for cattle identification. Transfer learning via pre-trained models positively impacted model accuracy and generalization. The technology can be integrated into livestock management and breeding programs, as well as agricultural and farming systems.

Keywords: Biometric Identification, Muzzle Images, Convolutional Neural Networks, Keras Framework.

JournalInternational Journal of Research and Scientific Innovation (IJRSI)
ISSN2321-2705
Volume / IssueVolume 12, Issue 9
Pages4748–4753
Publication dateOctober 25, 2025
DOI10.51244/IJRSI.2025.1208004131
PublisherRSIS International
LicenseOpen Access

How to cite this article

Benard Onyango, Obadiah Musau, & Kennedy Ondimu (2025). Machine Learning Image Classification model to Identify Cattle in Kenya. International Journal of Research and Scientific Innovation (IJRSI), 12(9), 4748-4753. https://doi.org/10.51244/IJRSI.2025.1208004131

BibTeX

@article{Benard2025,
  title   = {Machine Learning Image Classification model to Identify Cattle in Kenya},
  author  = {Benard Onyango and Obadiah Musau and Kennedy Ondimu},
  journal = {International Journal of Research and Scientific Innovation (IJRSI)},
  volume  = {12},
  number  = {9},
  pages   = {4748--4753},
  year    = {2025},
  doi     = {10.51244/IJRSI.2025.1208004131},
  publisher = {RSIS International}
}