华中农业大学学报2025,Vol.44Issue(2):39-48,10.DOI:10.13300/j.cnki.hnlkxb.2025.02.005
基于改进YOLOv8n的安格斯牛面部识别
Facial recognition of Angus cattle based on the improved YOLOv8n
摘要
Abstract
An improved YOLOv8n method was used for facial recognition of Angus cattle in captive environments to solve the problem of difficulty in distinguishing facial features caused by Angus cattle's unique black fur and to achieve the accurate and non-contact recognition.A dataset containing 11 000 facial images of 200 Angus cattle at different stages of growth was constructed.Introducing an innovative and en-hanced receptive field feature fusion module was introduced to enhance the model's focus on key features.A novel lightweight detection head(LPCDH)was designed for recognizing the facial feature of Angus cattle.The group Taylor pruning method was used to eliminate irrelevant neurons by estimating their importance,thereby reducing computational costs and memory usage,and improving the deployment efficiency of the model.The results showed that the improved model achieved an average recognition accuracy of 92.6%,which was 11.5,3.8,1.8,1.9,5.1,3.9,3.7,and 2.4 percentage higher that of commonly used models in-cluding SSDs YOLOv5n,YOLOv8s,YOLOv8m,YOLOv9t,YOLOv10n,RT-Detr,and Mamba-YOLO model,respectively.The designed model was improved by 3.1 percentage in 4-fold cross-validation com-pared with the original YOLOv8n model.It is indicated that the constructed model is optimized for light-weight memory consumption and computational requirements,making it particularly suitable for real-time recognition on mobile devices and in practical applications,significantly improving the accuracy and efficien-cy of recognizing the facial feature of Angus cattle.It will have immense potential in individual recognition in the livestock industry.关键词
安格斯牛/YOLOv8n/剪枝/牛只识别/面部检测模型Key words
Angus cattle/YOLOv8n/pruning/cattle identification/facial detection model分类
农业科技引用本文复制引用
胡立俊,李旭,李国亮..基于改进YOLOv8n的安格斯牛面部识别[J].华中农业大学学报,2025,44(2):39-48,10.基金项目
华中农业大学农业农村部智慧农业技术重点实验室开放项目(KLSFTAA-KF004) (KLSFTAA-KF004)
绿洲生态农业兵团重点实验室开放项目(202002) (202002)