TY - JOUR
T1 - Pig face recognition based on trapezoid normalized pixel difference feature and trimmed mean attention mechanism
AU - Xu, Shuiqing
AU - He, Qihang
AU - Tao, Songbing
AU - Chen, Hongtian
AU - Chai, Yi
AU - Zheng, Weixing
PY - 2023
Y1 - 2023
N2 - Pig face recognition has a wide range of applications in breeding farms, including precision feeding and disease surveillance. This article proposes a method to guarantee its performance in complex environments such as with dirty faces and in unconstrained outdoor conditions. First, inspired by the shape of the pig face, a trapezoid normalized pixel difference (T-NPD) feature is designed to achieve more accurate detection in unconstrained outdoor conditions. Subsequently, a trimmed mean attention mechanism (TMAM) uses the trimmed mean-based squeeze method to assign more precise weights to feature channels, and then fuses it into a 50-layer ResNet (ResNet50) backbone network to classify detected pig face images with high accuracy. In addition, the TMAM can be applied in numerous common networks due to its universality. Finally, comprehensive experiments conducted on the publicly available JD pig face dataset indicate that the proposed method has superior performance compared with other methods, with an overall accuracy of 95.06%.
AB - Pig face recognition has a wide range of applications in breeding farms, including precision feeding and disease surveillance. This article proposes a method to guarantee its performance in complex environments such as with dirty faces and in unconstrained outdoor conditions. First, inspired by the shape of the pig face, a trapezoid normalized pixel difference (T-NPD) feature is designed to achieve more accurate detection in unconstrained outdoor conditions. Subsequently, a trimmed mean attention mechanism (TMAM) uses the trimmed mean-based squeeze method to assign more precise weights to feature channels, and then fuses it into a 50-layer ResNet (ResNet50) backbone network to classify detected pig face images with high accuracy. In addition, the TMAM can be applied in numerous common networks due to its universality. Finally, comprehensive experiments conducted on the publicly available JD pig face dataset indicate that the proposed method has superior performance compared with other methods, with an overall accuracy of 95.06%.
KW - Attention mechanism
KW - trimmed mean
KW - trapezoid normalized pixel difference (T-NPD) feature
KW - pig face detection
KW - pig face recognition
UR - https://hdl.handle.net/1959.7/uws:72458
UR - http://www.scopus.com/inward/record.url?scp=85146251204&partnerID=8YFLogxK
U2 - 10.1109/TIM.2022.3232093
DO - 10.1109/TIM.2022.3232093
M3 - Article
SN - 0018-9456
VL - 72
JO - IEEE Transactions on Instrumentation and Measurement
JF - IEEE Transactions on Instrumentation and Measurement
M1 - 3500713
ER -