An offline deep learning model for bovine muzzle identification using the variance of the laplacian, YOLOv8, EfficientNetV2-S, and ArcFace.
Ahlam G Khalifa, Ahmed S Abdultawab
Department of Forensic Medicine and Toxicology, Faculty of Veterinary Medicine, Beni-Suef University, Beni-Suef, 62511, Egypt. ahlamgamal2013@gmail.com. · Faculty of Veterinary Medicine, Beni-Suef University, Beni-Suef, 62511, Egypt.
Key points
From the paper's conclusion- Overall, the proposed offline muzzle biometric model provides a non-invasive prototype for bovine identification under the tested conditions.
Abstract
Precise animal identification underpins livestock management, disease control, and traceability. Traditional methods such as tattoos and ear tags can fade or be lost, motivating a shift toward biometric-based systems. This study proposed an offline Python-based deep learning biometric identification model for bovine using muzzle images. YOLOv8 detected and cropped the muzzle region, EfficientNetV2-S architecture was integrated with ArcFace (angular margin loss) for muzzle pattern extraction and matching. The model was evaluated under two conditions: a controlled dataset (Kaggle) and a preliminary, small-scale field dataset using smartphone-acquired images from smallholder farmers. The model was validated using the Kaggle dataset and tested on both Kaggle and field-collected muzzle images. Model performance was evaluated using the cosine similarity score, processing time, F1 score, recall, accuracy, and precision. The model showed shorter processing times and higher recognition performance on the Kaggle images than on the field images. A domain gap was observed between Kaggle dataset and field dataset. The current model is a controlled prototype with preliminary field testing for offline muzzle recognition; however, it has not yet met pre-defined field readiness measures. Overall, the proposed offline muzzle biometric model provides a non-invasive prototype for bovine identification under the tested conditions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Short-Term Longitudinal Biometric Identification of Cattle Using Planum Nasolabiale Images and a Two-Stage Deep Learning Framework.Veterinary sciences · 2026
- Deep learning-based holstein face recognition in real-world farming conditionsSmart Agricultural Technology · 2025
- A Lightweight Real-Time Vision Framework for Low-Disturbance Veterinary Management and Behavioral Welfare Assessment in Captive Forest Musk Deer.Veterinary sciences · 2026
- Beef Cattle Body Weight Estimation Based on Dual-View RGB Images.Animals : an open access journal from MDPI · 2026
- Image-Based Breed Recognition of Indian Cattle and Buffaloes Using YOLOv12 and Roboflow Cloud PlatformInternational Journal for Research in Applied Science and Engineering Technology · 2025
- A real-time, multi-animal model for automatic face detection and identification of freely moving common marmosets based on YOLOv8 algorithms.eLife · 2026