Efficient Convolutional Network Model Incorporating a Multi-Attention Mechanism for Individual Recognition of Holstein Dairy Cows
Individual recognition of Holstein cows is the basis for realizing precision dairy farming. Current machine vision individual recognition systems usually rely on fixed vertical illumination and top-view camera perspectives or require complex camera systems, and these requirements limit their promotion in practical applications. To solve this problem, a lightweight Holstein cow individual recognition feature extraction network named CowBackNet is designed in this paper. This network is not affected by camera angle and lighting changes and is suitable for farm environments. Secondly, a fusion multi-attention mechanism approach was adopted to integrate the attention mechanism, inverse residual structure, and depth-separable convolution technique to design a new feature extraction module, LightCBAM. This module was placed in the corresponding layer of CowBackNet to enhance the model's ability to extract the key features of the cow's back image from different viewpoints. In addition, the CowBack dataset was constructed in this study to verify the model's ability to be applied in real scenarios, containing Holstein cowback images in real production environments under different viewpoints. The experimental results show that when using CowBackNet as a feature extraction network, the recognition accuracy reaches 88.30%, FLOPs are 0.727 G, and the model size is only 6.096 MB. Compared with the classical EfficientNetV2, the accuracy of CowBackNet is improved by 11.69%, the FLOPs are reduced by 0.001 G, and the number of parameters is also reduced by 14.6%. Therefore, the model developed in this paper shows good robustness in shooting angle, light change, and real production data, which not only improves the recognition accuracy but also optimizes the computational efficiency of the model, which is of great practical application value for realizing precision farming.
Authors
- Honghui Li (ORCID: https://orcid.org/0009-0003-3436-7150)
- Xiaoping An (ORCID: https://orcid.org/0000-0001-7101-4803)
- Yu Liu (ORCID: https://orcid.org/0000-0002-5100-244X)
- Liu Shi Gan (ORCID: https://orcid.org/0000-0001-7131-0506)
- Xiaoli Ma (ORCID: https://orcid.org/0009-0002-8191-9387)
- Wenbo Zhu (ORCID: https://orcid.org/0009-0006-6699-1750)
- Buyu Wang (ORCID: https://orcid.org/0000-0002-5002-1219)
- Youxin Yu (ORCID: https://orcid.org/0009-0008-0855-7512)
Institutions
- Inner Mongolia Agricultural University (CN)
- Inner Mongolia Academy of Agricultural & Animal Husbandry Sciences (CN)
Publication Details
- Journal
- Animals
- Published
- 2025-04-19
- DOI
- https://doi.org/10.3390/ani15081173
- Citations
- 2
- Primary Topic
- Food Supply Chain Traceability
- Type
- article
- Field-Weighted Citation Impact
- 2.32