The present application relates to the technical field of
algorithm identification, in particular to a sheep group
identity recognition method based on facial features, comprising constructing a sheep face
original data set after de-redundancy and data enhancement, realizing sheep face area and three facial key point detection by using an improved RetinaFace network, extracting a 128-dimensional normalized sheep face
feature vector through a HTL-Net network fused with TripletAttention, constructing a feature
database, developing an intelligent platform integrating detection and recognition, and completing identity matching based on
Euclidean distance. The method solves the problems of traditional ear tags, RFID and other recognition methods, such as easy to fall off, high cost, harm to sheep, low precision of existing recognition models, and difficult deployment, and has a sheep
face detection accuracy of 96.15%, a recognition accuracy of 91.90%, a lightweight model, supports multi-form real-time recognition, and is suitable for large-scale sheep group precision management requirements.