Automatic Identification of Aceh Cattle Using an Image-Based Computer Vision Approach for Smart Livestock Management

Muhammad Ammar ORCID ,  Eka Meutia Sari ORCID ,  Cut Intan Novita ,  Mohd. Agus Nashri Abdullah ORCID ,  Hendra Koesmara ,  Yenni Yusriani ,  Masduqi Masduqi

    Received: 13 December 2025; Revised: 27 January 2026; Accepted: 9 February 2026; Published: 26 March 2026

    Abstract

    The identification of cattle breeds is an important aspect of livestock management, particularly for maintaining genetic resources and supporting breeding programs of local cattle. In Indonesia, Aceh cattle represent one of the important indigenous breeds whose identification is commonly conducted through manual observation based on physical characteristics. However, conventional identification methods often depend on human expertise and may lead to inconsistencies or misclassification. Recent advances in artificial intelligence, especially in computer vision technologies, provide new opportunities to develop automated systems for livestock identification. This study aims to develop an image-based classification model to distinguish Aceh cattle from non-Aceh cattle using computer vision techniques. A dataset of cattle images was collected from field documentation and various online sources and categorized into two classes. After the image collection process was completed, image adjustment and augmentation processes followed, resulting in a final dataset of 2,360 images, which were used for model training and testing. The dataset consisted of 800 original images expanded through augmentation techniques and was automatically divided into training and validation datasets using an 80:20 ratio. The classification model was developed using Teachable Machine and evaluated using performance metrics such as accuracy, precision, and recall. The experimental results show that the model achieved an accuracy of 89.6%, with precision and recall values of 89.1% and 90.3%, respectively. The findings demonstrate the feasibility of applying low-code artificial intelligence platforms for indigenous cattle breed classification in digital livestock management systems.

    Keywords

    References

    1. 1. Abdullah, M.A.N.; Martojo, H.; Noor, R.R.; et al. Genetic characterization of the Aceh cattle using phenotypic, mitochondrial DNA of D-loop region and microsatellite DNA analyses. Reprod. Domest. Anim. 2012, 47, 15–17. DOI: https://doi.org/10.1111/J.1439-0531.2011.01959.X
    2. 2. Sari, E.M.; Jianlin, H.; Noor, R.R.; et al. Phylogenetic analysis of Aceh cattle breed of Indonesia through mitochondrial D-Loop region. J. Genet. Eng. Biotechnol. 2016, 14, 227–231. DOI: https://doi.org/10.1016/j.jgeb.2015.12.001
    3. 3. Dac, H.H.; Gonzalez Viejo, C.; Lipovetzky, N.; et al. Livestock Identification Using Deep Learning for Traceability. Sensors 2022, 22, 8256. DOI: https://doi.org/10.3390/s22218256
    4. 4. Vijayalakshmi, A.; Shanmugavadivu, P.; Vijayalakshmi, S.; et al. Ensemble learning algorithm for cattle breed identification using computer vision techniques. In Proceedings of the 1st International Conference on Artificial Intelligence, Communication, IoT, Data Engineering and Security (IACIDS), Lavasa, India, 23–25 November 2023. DOI: https://doi.org/10.4108/eai.23-11-2023.2343338
    5. 5. Hossain, M.E.; Kabir, M.A.; Zheng, L.; et al. A systematic review of machine learning techniques for cattle identification: Datasets, methods and future directions. Artif. Intell. Agric. 2022, 6, 138–155. DOI: https://doi.org/10.1016/j.aiia.2022.09.002
    6. 6. Novita, C.I.; Muhammad, M.E.; Sari, E.P.; et al. Reproductive performance of Aceh cattle as animal genetic resources in Sampoiniet, Aceh Jaya, Aceh Province, Indonesia. In Proceedings of the 3rd International Conference on Animal Production for Food Sustainability (ICAPS), Bali, Indonesia, 7–8 September 2023. DOI: https://doi.org/10.1088/1755-1315/1341/1/012028
    7. 7. Koesmara, H.; Budisatria, I.G.S.; Baliarti, E.; et al. Income over feed cost of Aceh cattle fattened with forage and concentrate at different levels. In Proceedings of the 8th International Seminar on Tropical Animal Production (ISTAP), Yogyakarta, Indonesia, 23–25 September 2019. DOI: https://doi.org/10.1088/1755-1315/387/1/012101
    8. 8. Carney, M.; Webster, B.; Alvarado, I.; et al. Teachable Machine: approachable web-based tool for exploring machine learning classification. In Proceedings of the CHI Conference on Human Factors in Computing Systems (CHI), Honolulu, HI, USA, 25–30 April 2020. DOI: https://doi.org/10.1145/3334480.3382839
    9. 9. Aceh Province in Figures 2024. Available online: https://aceh.bps.go.id/id/publication/2024/02/28/9a8a3c2e62d9b541aba178db/provinsi-aceh-dalam-angka-2024.html (accessed on 8 December 2025). (in Indonesian)
    10. 10. Ong, G.Y.; Abdullah, N.; Ridzuan, F.; et al. Enhancing Data Quality in Image Pre-processing: A Case Study on Plant Disease Classification. In Proceedings of the International Conference for Technological Engineering and its Applications in Sustainable Development (ICTEASD), Al-Najaf, Iraq, 14–15 November 2023. DOI: https://doi.org/10.1109/icteasd57136.2023.10584873
    11. 11. Ruchay, A.; Akulshin, I.; Kolpakov, V.; et al. Cattle face recognition using deep transfer learning techniques. In Proceedings of the International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor), Pisa, Italy, 6–8 November 2023. DOI: https://doi.org/10.1109/metroagrifor58484.2023.10424103
    12. 12. Madhuri, G.R.; Jagadale, B.N.; Salma, N.; et al. Machine learning-based pattern recognition models for image recognition and classification. In Proceedings of the International Conference on Data Analytics and Learning (ICDAL), Singapore, 20 February 2024. DOI: https://doi.org/10.1007/978-981-99-6346-1_8
    13. 13. Maxwell, A.E.; Warner, T.A.; Guillén, L.A. Accuracy Assessment in Convolutional Neural Network-Based Deep Learning Remote Sensing Studies—Part 1: Literature Review. Remote Sens. 2021, 13, 2450. DOI: https://doi.org/10.3390/RS13132450
    14. 14. Shen, W.; Hu, H.; Dai, B.; et al. Individual identification of dairy cows based on convolutional neural networks. Multimed. Tools Appl. 2020, 79, 14711–14724. DOI: https://doi.org/10.1007/S11042-019-7344-7
    15. 15. Sutojo, T.; Tirajani, P.S.; Setiadi, D.R.I.M.; et al. CBIR for classification of cow types using GLCM and color features extraction. In Proceedings of the 2nd International Conference on Information Technology, Information Systems and Electrical Engineering (ICITISEE), Yogyakarta, Indonesia, 1–2 November 2017. DOI: https://doi.org/10.1109/ICITISEE.2017.8285491
    16. 16. Jin, Y.; Kattan, M.W. Methodological Issues Specific to Prediction Model Development and Evaluation. CHEST 2023, 164, 1281–1289. DOI: https://doi.org/10.1016/j.chest.2023.06.038
    17. 17. Ghosh, P.; Mustafi, S.; Mandal, S.N. Image-Based Goat Breed Identification and Localization Using Deep Learning. Int. J. Comput. Vis. 2020, 10, 74–96. DOI: https://doi.org/10.4018/IJCVIP.2020100105
    18. 18. Yılmaz, A.; Uzun, G.N.; Gürbüz, M.Z.; et al. Detection and breed classification of cattle using YOLOv4 algorithm. In Proceedings of the International Conference on Innovations in Intelligent Systems and Applications (INISTA), Kocaeli, Turkey, 25–27 August 2021. DOI: https://doi.org/10.1109/INISTA52262.2021.9548440
    19. 19. Hedayati, H.; McGuinness, B.J.; Cree, M.J.; et al. Generalization approach for CNN-based object detection in unconstrained outdoor environments. In Proceedings of the International Conference on Image and Vision Computing New Zealand (IVCNZ), Dunedin, New Zealand, 2–4 December 2019. DOI: https://doi.org/10.1109/IVCNZ48456.2019.8960992
    20. 20. Rajankar, S.; Mankar, R.; Rajankar, O. Cattle Identification Using LBP Descriptor and SVM Classifier. Int. J. Sci. Technol. Res. 2019, 8, 424–428.
    21. 21. Bezsonov, O.; Lebediev, O.; Lebediev, V.; et al. Breed recognition and estimation of live weight of cattle based on methods of machine learning and computer vision. East.-Eur. J. Enterp. Technol. 2021, 6, 64–74. DOI: https://doi.org/10.15587/1729-4061.2021.247648
    22. 22. Kumar, S.; Singh, S. Cattle recognition: A new frontier in visual animal biometrics research. India, Sect. A Phys. Sci. 2020, 90, 689–708. DOI: https://doi.org/10.1007/S40010-019-00610-X
    23. 23. Thanikkal, J.G.; Dubey, A.K.; Thomas, M.T. Importance of image morphological features in continuous learning. In Proceedings of the International Mobile and Embedded Technology Conference (MECON), Noida, India, 10–11 March 2022. DOI: https://doi.org/10.1109/MECON53876.2022.9752445
    24. 24. Guarnido-Lopez, P.; Pi, Y.; Tao, J.; et al. Computer vision algorithms to help decision-making in cattle production. Anim. Front. 2024, 14, 11–22. DOI: https://doi.org/10.1093/af/vfae028
    25. 25. Butu, J.R.; Nurtanio, I.; Paundu, A.W. Identification of different types of buffalo using YOLO algorithm based on computer vision. In Proceedings of the 3rd International Conference on Intelligent Cybernetics Technology & Applications (ICICyTa), Denpasar, Indonesia, 13–15 December 2023. DOI: https://doi.org/10.1109/ICICyTA60173.2023.10428773
    26. 26. Duraiswami, N.R.; Bhalerao, S.; Watni, A.; et al. Cattle breed detection and categorization using image processing and machine learning. In Proceedings of the International Conference on Advancements in Smart, Secure and Intelligent Computing (ASSIC), Bhubaneswar, India, 19–20 November 2022. DOI: https://doi.org/10.1109/ASSIC55218.2022.10088381
    27. 27. Borges Oliveira, D.A.; Ribeiro Pereira, L.G.; Bresolin, T.; et al. A review of deep learning algorithms for computer vision systems in livestock. Livest. Sci. 2021, 253, 104700. DOI: https://doi.org/10.1016/j.livsci.2021.104700
    28. 28. Evstatiev, B.; Kalmukov, Y. Analysis of the key factors influencing outdoor animal recognition and counting accuracy. In Proceedings of the 8th International Conference on Energy Efficiency and Agricultural Engineering (EE&AE), Ruse, Bulgaria, 30 June–2 July 2022. DOI: https://doi.org/10.1109/EEAE53789.2022.9831410
    29. 29. Siregar, A.M.; Purwanto, Y.A.; Wijaya, S.H.; et al. Two-stages of segmentation to improve accuracy of deep learning models based on dairy cow morphology. Int. J. Power Electron. Drive Syst. 2023, 13, 2093–2100. DOI: https://doi.org/10.11591/ijece.v13i2.pp2093-2100
    30. 30. Li, D.; Li, B.; Li, Q.; et al. Cattle identification based on multiple feature decision layer fusion. Sci. Rep. 2024, 14, 26631. DOI: https://doi.org/10.1038/s41598-024-76718-x
    31. 31. Wang, X.; Cheng, X.; Chen, Z.; et al. A method for individual identification of dairy cows based on deep learning. In Proceedings of the 2nd International Conference on Robotics, Intelligent Control and Artificial Intelligence (RICAI), Shanghai, China, 25 December 2020. DOI: https://doi.org/10.1145/3438872.3439079
    32. 32. Fu, R.; Fang, J.; Zhao, Y. Daily behavior recognition of cattle based on dynamic region image features in open environment. In Proceedings of the 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS), Guangzhou, China, 22–24 July 2022. DOI: https://doi.org/10.1109/ISPDS56360.2022.9874150
    33. 33. Kanjanarut, P.; Pannakkong, W.; Olapiriyakul, S.; et al. A computer vision-based framework for behavior monitoring and estrus detection through dynamic behavioral analysis. In Integrated Uncertainty in Knowledge Modelling and Decision Making; Huynh, V.N., Inuiguchi, M., Demoeux, T., Eds.; Springer: Cham, Switzerland, 2023; 14376, pp. 117–128. DOI: https://doi.org/10.1007/978-3-031-46781-3_11
    34. 34. Mukhopadhyay, A.; Biswas, P. Advancements in Deep-Learning-Based Object Detection in Challenging Environments. In Wireless World Research and Trends; Mukhopadhyay, A., Biswas, P., Eds.; River Publishers: Aalborg, Denmark, 2024; pp. 1–24. DOI: https://doi.org/10.13052/2794-7254.001
    35. 35. Xiao, Z.; Wan, Y.; Yang, W. Evaluation of training datasets for typical target detection networks. In Proceedings of the Twelfth International Symposium on Multispectral Image Processing and Pattern Recognition (MIPPR), Wuhan, China, 7 March 2024. DOI: https://doi.org/10.1117/12.2692648
    ×