Related Experiment Video
Updated: Sep 16, 2026

Integration of Animal Behavioral Assessment and Convolutional Neural Network to Study Wasabi-Alcohol Taste-Smell Interaction
Published on: August 16, 2024
Multi-Scale Sheep and Goat Face Detection Network Based on Multi-Task Optimization
Fu Zhang1,2, Baoping Yan1, Xiaopeng Zhao1
1College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471023, China.
Abstract:
Face detection serves as the prerequisite and foundation for individual sheep and goat identification. Considering the practical detection process, the facial region of sheep and goats shares similarities with the torso texture features, which could be easily interfered with by the background and other factors, along with the presence of varying face scales. RetinaFace was selected as the framework, with GhostNet used as the backbone for feature extraction, thereby significantly reducing model complexity and computational load. A new feature extraction unit-SRM module-was designed through the integration of the Multi-Source Domain Adaptation (MSDA) attention mechanism and Reparameterized Non-local Cross-scale Feature Exchange Layer 4 (RepNCSPELAN4) to mitigate the impact of environmental factors and enhance the fine-grained feature extraction of the sheep and goat's face. A new feature fusion network-A_EFPN-was designed through the com-bination of Efficient Reparameterized Generalized-FPN (RepGFPN) and Alterable Kernel Convolution (AKConv), thereby enhancing feature interaction and improving the model's multi-scale detection ability. An optimized multi-task joint loss function was employed to retain three facial key points: the left eye, right eye, and nose, thereby reducing the number of model regression parameters. Experimental results demonstrate that the proposed method achieved 96.15% Precision, 97.06% Recall, 96.60% F1 Score, 98.31% AP, 2.40% NME, 2.36 G FLOPs, 3.63 M Params, and a weight of 14.75 MB. It was demonstrated to be applicable to the rapid and accurate detection of sheep and goat faces in the actual breeding environment, providing the foundation for subsequent sheep and goat face recognition.