An offline deep learning model for bovine muzzle identification using the variance of the laplacian, YOLOv8, EfficientNetV2-S, and ArcFace

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.

Authors

Institutions

Publication Details

Journal
BMC Veterinary Research
Published
2026-10-19
DOI
https://doi.org/10.1186/s12917-026-05948-0
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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
BMC Veterinary Research
Smart Agriculture and AI
article

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
article en

Abstract

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.

BMC Veterinary Research
Beni-Suef University (EG)
Openalex Percentile: Top 14%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.