Development of a Dairy Cattle Facial Recognition System Based on CNN for Digital Livestock Data Management
Abstract
Dairy cattle data management plays a crucial role in supporting operational efficiency and the sustainability of the livestock sector. However, conventional practices at Mamad Jaya Farm in animal identification still present severe operational and animal welfare challenges. The existing traditional marking methods carry high physical risks for the livestock, frequently leading to torn ears from ear-tagging, severe skin irritation from branding, and high human-error risks in manual paper-based record-keeping. To mitigate these invasive drawbacks, this study aims to develop an artificial intelligence-based facial recognition system for dairy cattle as a non-invasive solution to support digital and integrated livestock data management. A Convolutional Neural Network (CNN) architecture was uniquely implemented for the identification process due to its superior capacity to automatically and hierarchically extract complex spatial biometric features from facial images without manual feature engineering. The research methodology involved collecting a multi-angle facial dataset from a herd of 15 dairy cattle at Mamad Jaya Farm, Karangpawitan, Garut, which was then processed using Roboflow. The developed model was integrated into a web-based livestock platform named BonvaLink. Empirical testing on 15 distinct cattle facial images demonstrated that the system achieved an individual identification accuracy of 93.33%, with the majority of correct predictions yielding robust confidence scores. These results indicate that the CNN-based biometric approach is highly effective and reliable in recognizing individual dairy cattle identities under practical barn environments
Keywords
Full Text:
PDFReferences
E. Tadele, D. Worku, D. Yigzaw, T. Muluneh, and A. Melese, “Precision of dairy farming: navigating challenges and seizing opportunities for sustainable dairy production in Africa,” Frontiers in Animal Science, vol. 6, Mar. 2025, doi: 10.3389/fanim.2025.1541838.
S. Wolfert, L. Ge, C. Verdouw, and M. J. Bogaardt, “Big Data in Smart Farming – A review,” Agric. Syst., vol. 153, pp. 69–80, May 2017, doi: 10.1016/j.agsy.2017.01.023.
Z. Li et al., “Dairy Cow Individual Identification System Based on Deep Learning,” 2023, pp. 209–221. doi: 10.1007/978-981-99-0617-8_15.
S. Posam, L. K. Reddy G, and V. CM, “Automated dairy farm management system powered by IoT and ML,” Results in Engineering, vol. 28, p. 107508, 2025, doi: https://doi.org/10.1016/j.rineng.2025.107508.
R. Mondal, S. Dan, S. Mandal, and S. Banik, “Animal identification: from traditional methods to Biometric approaches,” Journal of Livestock Science, vol. 17, pp. 153–163, Mar. 2026, doi: 10.33259/JLivestSci.2026.153-163.
R. Nordquist, F. J. van der Staay, F. Eerdenburg, F. Velkers, L. Fijn, and S. Arndt, “Mutilating Procedures, Management Practices, and Housing Conditions That May Affect the Welfare of Farm Animals: Implications for Welfare Research,” Animals, vol. 7, pp. 1–22, Feb. 2017, doi: 10.3390/ani7020012.
J. Liang, Z. Yuan, X. Luo, J. Qu, Y. Qi, and C. Wang, “Application of non-invasive monitoring technology in intensive sheep farming: A review,” Smart Agricultural Technology, vol. 12, p. 101215, 2025, doi: https://doi.org/10.1016/j.atech.2025.101215.
J. Schillings, R. Bennett, and D. Rose, “Animal welfare and other ethical implications of Precision Livestock Farming technology,” CABI Agriculture and Bioscience, vol. 2, May 2021, doi: 10.1186/s43170-021-00037-8.
S. Manteaw, B. Akpotosu, B. Folitse, and S. Mahama, “Assessing farm records-keeping behavior among small-scale pineapple farmers in the Nsawam Adoagyiri municipality, Ghana,” Ghana Journal of Agricultural Science, vol. 56, pp. 34–45, Dec. 2021, doi: 10.4314/gjas.v56i2.4.
F. Oliveira, G. Ferraz, A. Guimarães André, L. Santana, T. Norton, and P. Ferraz, “Digital and Precision Technologies in Dairy Cattle Farming: A Bibliometric Analysis,” Animals, vol. 14, p. 1832, Jun. 2024, doi: 10.3390/ani14121832.
H. Meng et al., “Livestock Biometrics Identification Using Computer Vision Approaches: A Review,” Jan. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/agriculture15010102.
T. T. Zin and P. Tin, “— Invited Review — Computer vision in precision livestock farming: artificial intelligence-driven technologies and applications for sustainable animal production,” Anim. Biosci., vol. 39, p. 260165, Apr. 2026, doi: 10.5713/ab.260165.
S. Zamroni et al., “Sistemasi: Jurnal Sistem Informasi Identifikasi Moncong Sapi menggunakan Metode Jaringan Saraf Tiruan Konvolusional (CNN) Recognizing Cow Muzzle Patterns using the Convolution Neural Network (CNN) Algorithm.” [Online]. Available: http://sistemasi.ftik.unisi.ac.id
E. Fiorilla, D. Vitturini, M. Bovo, M. Grangetto, and L. Ozella, “A computer vision framework for barn-wide monitoring of dairy cows in free-traffic systems with robotic milking,” Smart Agricultural Technology, vol. 13, p. 101878, 2026, doi: https://doi.org/10.1016/j.atech.2026.101878.
S. Krishnan and S. S., “Cloud IOT based novel livestock monitoring and identification system using UID,” Sensor Review, vol. 38, Dec. 2017, doi: 10.1108/SR-08-2017-0152.
G. BPS, “KECAMATAN KARANGPAWITAN DALAM ANGKA,” 2020.
H. Meng et al., “Livestock Biometrics Identification Using Computer Vision Approaches: A Review,” Jan. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/agriculture15010102.
Y. Huang, “Deep Learning in Image Recognition,” Applied and Computational Engineering, vol. 8, pp. 61–67, Aug. 2023, doi: 10.54254/2755-2721/8/20230082.
K. Djatnika, “ANALISIS PELAKSANAAN MANAJEMEN RISIKO DI INSTALASI FARMASI RUMAH SAKIT UMUM DAERAH TUGUREJO SEMARANG TAHUN 2018,” 2018.
M. El Sakka, J. Mothe, and M. Ivanovici, “Images and CNN applications in smart agriculture,” Eur. J. Remote Sens., vol. 57, May 2024, doi: 10.1080/22797254.2024.2352386.
D. Marković, Z. Stamenković, B. Đorđević, and S. Ranđić, “Image Processing for Smart Agriculture Applications Using Cloud-Fog Computing,” Sensors, vol. 24, no. 18, Sep. 2024, doi: 10.3390/s24185965.
A. Khan et al., “A survey of the vision transformers and their CNN-transformer based variants,” Artif. Intell. Rev., vol. 56, pp. 2917–2970, Dec. 2023, doi: 10.1007/s10462-023-10595-0.
DOI: https://doi.org/10.31326/jisa.v9i1.2741
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Andika Muhammad Nur Kholiq, Arief Suryadi Satyawan, Mokh Mirza Etnisa Haqiqi, Arief Abdillah, R Helkhan Sultan Fajar, Yusril Kamil

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
JOURNAL IDENTITY
Journal Name: JISA (Jurnal Informatika dan Sains)
e-ISSN: 2614-8404, p-ISSN: 2776-3234
Publisher: Program Studi Teknik Informatika Universitas Trilogi
Publication Schedule: June and December
Language: English
APC: The Journal Charges Fees for Publishing
Indexing: EBSCO , DOAJ, Google Scholar, Arsip Relawan Jurnal Indonesia, Directory of Research Journals Indexing, Index Copernicus International, PKP Index, Science and Technology Index (SINTA, S4) , Garuda Index
OAI address: http://trilogi.ac.id/journal/ks/index.php/JISA/oai
Contact: jisa@trilogi.ac.id
Sponsored by: DOI – Digital Object Identifier Crossref, Universitas Trilogi
In Collaboration With: Indonesian Artificial Intelligent Ecosystem(IAIE), Relawan Jurnal Indonesia, Jurnal Teknologi dan Sistem Komputer (JTSiskom)
JISA (Jurnal Informatika dan Sains) is Published by Program Studi Teknik Informatika, Universitas Trilogi under Creative Commons Attribution-ShareAlike 4.0 International License.















