Sheep Breed Recognition Based on Texture Using GLCM and K-Nearest Neighbor
Anna Nur Nazilah Chamim, Afri Yudamson, Karisma Trinanda Putra, Kunnu Purwanto, Siti Nurul Aqmariah binti Kanafiah, Devy Putri Mantikha
Key points
From the paper's conclusion- The findings indicate that GLCM features effectively capture breed-specific texture characteristics and can provide reliable sheep breed classification performance.
Abstract
Sheep breed identification is an important task in livestock management, breeding programs, and agricultural automation. However, manual breed recognition is often time-consuming and susceptible to human error. This study proposes a texture-based sheep breed recognition approach using Gray Level Co-occurrence Matrix (GLCM) feature extraction and K-Nearest Neighbor (KNN) classification. The dataset consists of three sheep breeds, namely Barbery, Harry, and Sawakny Red. Following image selection, background removal, augmentation, and resizing, a balanced dataset containing 624 images was obtained, with 208 images per breed. Four GLCM texture features, namely contrast, correlation, energy, and homogeneity, were extracted from each image. Classification experiments were conducted using Fine KNN, Medium KNN, and Weighted KNN classifiers. Experimental results demonstrate that Fine KNN and Weighted KNN achieved the highest classification accuracy of 92.86%, while Medium KNN achieved an accuracy of 77.38%. The findings indicate that GLCM features effectively capture breed-specific texture characteristics and can provide reliable sheep breed classification performance. The proposed method offers a computationally efficient alternative for automated livestock breed recognition systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SheepFormers: vision transformer-based sheep breed classification on small datasets for smart farmingJournal of Electrical Systems and Information Technology · 2026
- Comparative Evaluation of Accelerometer Data Representations for Machine Learning-Based Livestock Behavior ClassificationAgriEngineering · 2026
- Morphology guided hybrid deep learning for species identification of root knot nematodesDiscover Artificial Intelligence · 2026
- Paddy crop and weed classification using color features for computer vision based precision agricultureInternational Journal of Engineering & Technology · 2026
- Genome-Wide SNP Characterisation of Three Kazakh Sheep Breeds: Kazakh Fat-Tailed Coarse-Wool, Degeres, and Etti Merino.Animals : an open access journal from MDPI · 2026
- Shape‐Based Classification and Anatomical Localization of Phalanges in Hamdani Sheep and Hair GoatsAnatomia Histologia Embryologia · 2026