When Mobilenetv2 Meets Transformer: A Balanced Sheep Face Recognition Model
Xiaopeng Li,
Jinzhi Du,
Jialin Yang and
Shuqin Li
Additional contact information
Xiaopeng Li: College of Information Engineering, Northwest A&F University, Xianyang 712100, China
Jinzhi Du: College of Information Engineering, Northwest A&F University, Xianyang 712100, China
Jialin Yang: College of Information Engineering, Northwest A&F University, Xianyang 712100, China
Shuqin Li: College of Information Engineering, Northwest A&F University, Xianyang 712100, China
Agriculture, 2022, vol. 12, issue 8, 1-14
Abstract:
Sheep face recognition models deployed on edge devices require a good trade-off between model size and accuracy, but the existing recognition models cannot do so. To solve the above problems, this paper combines Mobilenetv2 with Vision Transformer to propose a balanced sheep face recognition model called MobileViTFace. MobileViTFace enhances the model’s ability to extract fine-grained features and suppress the interference of background information through Transformer to distinguish different sheep faces more effectively. Thus, it can distinguish different sheep faces more effectively. The recognition accuracy of 96.94% is obtained on a self-built dataset containing 5490 sheep face photos of 105 sheep, which is a 9.79% improvement compared with MobilenetV2, with only a small increase in Params (the number of parameters) and FLOPs (floating-point operations). Compared to models such as Swin-small, which currently performs SOTA, Params and FLOPs are reduced by nearly ten times, whereas recognition accuracy is only 0.64% lower. Deploying MobileViTFace on the Jetson Nano-based edge computing platform, real-time and accurate recognition results are obtained, which has implications for practical production.
Keywords: sheep face recognition; deep learning; vision transformer; Mobilenetv2; precision agriculture; Jetson Nano platform (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2022
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2077-0472/12/8/1126/pdf (application/pdf)
https://www.mdpi.com/2077-0472/12/8/1126/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:12:y:2022:i:8:p:1126-:d:875991
Access Statistics for this article
Agriculture is currently edited by Ms. Leda Xuan
More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().