A two-stage framework for cattle face re-identification with feature-contour and fine-texture enhancement
To address the challenge of accurate identification in low-texture cattle breeds such as Angus, this study presents a structurally optimized two-stage cattle face re-identification framework tailored for complex farming environments. In the detection stage, a lightweight model named Pruned Edge-enhanced Real-Time Detection Transformer (PrunedEdge-DETR) is proposed to enhance contour sensitivity while significantly reducing computational cost via grouped Taylor pruning. For the recognition stage, a dual-branch feature extraction network called Dual-channel fused MobileViT (DCFuseViT) is designed, which fuses local contours, fine-grained textures, and global semantic features to improve feature discriminability. Additionally, a feature library–based matching mechanism named EffiLibCatReID is introduced to enable fast and scalable identity retrieval. Experimental results on the AngusDataset-128 demonstrate that the proposed method achieves a re-identification accuracy of 97.8% with an average inference time of 9.61 ms per image, confirming its real-time performance and deployment potential. The source code is available at: https://github.com/HLJ11235/cattle-re-id.git .
Authors
- Guoliang Li (ORCID: https://orcid.org/0000-0003-1601-6640)
- Zhao Zhang (ORCID: https://orcid.org/0000-0002-5703-7969)
- Li Xu
- Lisha Hu
Institutions
- Xinjiang Agricultural University (CN)
- Huazhong Agricultural University (CN)
- Tarim University (CN)
- Fruit Research Institute (CN)
- Ministry of Agriculture and Rural Affairs (CN)
- Xinjiang Uygur Autonomous Region Education Department (CN)
- China Agricultural University (CN)
Publication Details
- Journal
- Journal of King Saud University - Computer and Information Sciences
- Published
- 2025-09-24
- DOI
- https://doi.org/10.1007/s44443-025-00242-9
- Primary Topic
- Food Supply Chain Traceability
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Huazhong Agricultural University
- Tarim University