Enhanced cattle identification using Siamese network and MobileViT with EMA attention
Accurate identification of individual cattle is paramount in livestock insurance to combat fraud. However, the performance of existing muzzle recognition methods degrades in complex scenarios involving occlusion or multi-angle views. This study addresses this limitation by first constructing a comprehensive cattle muzzle image dataset encompassing frontal, multi-angle, and occluded conditions. We then propose CattleMuzzleNet, a lightweight recognition model that integrates a siamese network, an enhanced MobileViT backbone, and an Efficient Multi-scale Attention (EMA) mechanism for robust feature extraction and matching. Its efficacy is systematically validated through comparative experiments on feature extraction networks, ablation studies on the attention mechanism, and confidence threshold analysis. Evaluated on a dataset of 31,312 images from 658 cattle, CattleMuzzleNet achieved an accuracy of 97.87% and an F1-score of 98.89%, with a compact model size of 6.9 MB. The results demonstrate high accuracy and robustness in complex scenarios, providing an effective technical solution for identity verification in cattle insurance.
Authors
- Mingshuo Han
- Chang Gao (ORCID: https://orcid.org/0000-0003-3597-1360)
- Baoshan Li (ORCID: https://orcid.org/0000-0001-8112-7916)
- Miao Yang (ORCID: https://orcid.org/0000-0002-4345-6652)
- Yueming Wang (ORCID: https://orcid.org/0009-0005-2290-9543)
- Qi Li
Institutions
- Mongolian University of Science and Technology (MN)
- Inner Mongolia University of Science and Technology (CN)
- Inner Mongolia University of Technology (CN)
Publication Details
- Journal
- Frontiers in Veterinary Science
- Published
- 2026-01-21
- DOI
- https://doi.org/10.3389/fvets.2025.1660163
- Primary Topic
- Food Supply Chain Traceability
- Type
- article
- Field-Weighted Citation Impact
- 0.00