Abstract
As machine vision technology has advanced, pig face recognition has gained wide attention as an individual pig identification method. This study establishes an improved ResNAM network as a backbone network for pig face image feature extraction by combining an NAM (normalization-based attention module) attention mechanism and a ResNet model to probe non-contact open-set pig face recognition. Then, an open-set pig face recognition framework is designed by integrating three loss functions and two metrics to finish the task with no crossover of individuals in the training and test sets. The SphereFace loss function with the cosine distance as a metric and ResNAM are combined in the framework to obtain the optimal open-set pig face recognition model. To train our model, 37 pigs with a total of 12,993 images were randomly selected from the collected pig face images, and 9 pigs with a total of 3431 images were set as a test set. 900 pairs of positive sample pairs and 900 pairs of negative pairs were obtained from the images in the test set. A series of experimental results show that our accuracy reached 95.28%, which was 2.61% higher than that of a human face recognition model. NAM was more effective in improving the performance of the pig face recognition model than the mainstream BAM (bottleneck attention module) and CBAM (convolutional block attention module). The research results can provide technological support for non-contact open-set individual recognition for intelligent farming processes.
Funder
Natural Science Foundation of Beijing
Special Project for Nurturing Distinguished Scientists of Beijing Academy of Agriculture and Forestry
Subject
Plant Science,Agronomy and Crop Science,Food Science
Reference29 articles.
1. Monitoring trough visits of growing-finishing pigs with UHF-RFID;Adrion;Comput. Electron. Agric.,2018
2. Automatic identification of marked pigs in a pen using image pattern recognition;Kashiha;Comput. Electron. Agric.,2013
3. Individual identification of Holstein dairy cows based on detecting and matching feature points in body images;Zhao;Biosyst. Eng.,2019
4. FLYOLOv3 deep learning for key parts of dairy cow body detection;Jiang;Comput. Electron. Agric.,2019
5. Li, S., Fu, L., Sun, Y., Mu, Y., Chen, L., Li, J., and Gong, H. (2021). Individual dairy cow identification based on lightweight convolutional neural network. PLoS ONE, 16, Publisher: Public Library of Science.
Cited by
12 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献