收藏切换
Lightweight Cattle Face Recognition Algorithm Based on Multi-scale Fusion Network
收藏切换
Yongsheng QI1, 2, Jiale QUAN1, Haotian LUAN1, Liqiang LIU1, 2, Huiwen LIU1, 2
Transactions of the Chinese Society for Agricultural Machinery | 2025, 56(12) : 615 - 622
Less
收藏切换
Transactions of the Chinese Society for Agricultural Machinery | 2025, 56(12): 615-622
• Agricultural Informatization Engineering •
Lightweight Cattle Face Recognition Algorithm Based on Multi-scale Fusion Network
Full
Yongsheng QI1, 2, Jiale QUAN1, Haotian LUAN1, Liqiang LIU1, 2, Huiwen LIU1, 2
Affiliations
  • 1.School of Electric Power, Inner Mongolia University of Technology, Hohhot 010080, China
  • 2.Center for Intelligent Energy Technology and Equipment Engineering, Hohhot 010080, China
Published: 2025-12-25 doi: 10.6041/j.issn.1000-1298.2025.12.056
Outline
收藏切换

In intelligent cattle farming, the application of facial recognition technology for cattle is crucial. However, due to the complex and variable farming environment and the non-planar characteristics of cattle faces, facial recognition technology often faces challenges such as insufficient recognition accuracy and poor robustness in practical applications. To address these issues, a FaceNet based on multi-scale fusion network (FMF) was proposed, which identified cattle through facial features. Firstly, the MSRCR method was used for color restoration preprocessing of the input cattle face images to reduce the impact of lighting on the FMF algorithm. Subsequently, a more lightweight MobileNetV3 was introduced into the main feature extraction network to reduce the model parameters and computation while ensuring high feature extraction capability. Finally, a composite dual-branch adaptive attention mechanism (M_CBAM) was proposed for multi-scale feature fusion. M_CBAM adjusted the weighting coefficients based on important features of the feature maps, adaptively weighting serial CBAM and parallel CBAM weights, then performed multi-scale feature fusion of local fine features and global features of cattle faces, improving facial recognition accuracy. To explore the effectiveness and real-time performance of the proposed algorithm, ablation experiments were conducted on a self-made cattle face dataset, and the results were compared with current mainstream recognition algorithms. Finally, the algorithm was deployed on the Jetson AGX Xavier embedded platform for application testing. The test results showed that the proposed algorithm achieved an accuracy of 93.86% and an FPS of 30.02 f/s on an open test set collected from other dairy farms. Under the condition of fast model inference speed, the recognition accuracy was significantly better than that of the original network and comparison networks.

cow face recognition  /  FaceNet  /  feature extraction  /  attention mechanism
齐咏生, 全家乐, 栾浩天, 刘利强, 刘慧文. 基于多尺度融合网络的轻量化牛脸识别算法. 农业机械学报, 2025 , 56 (12) : 615 -622 . DOI: 10.6041/j.issn.1000-1298.2025.12.056
Yongsheng QI, Jiale QUAN, Haotian LUAN, Liqiang LIU, Huiwen LIU. Lightweight Cattle Face Recognition Algorithm Based on Multi-scale Fusion Network[J]. Transactions of the Chinese Society for Agricultural Machinery, 2025 , 56 (12) : 615 -622 . DOI: 10.6041/j.issn.1000-1298.2025.12.056
Year 2025 volume 56 Issue 12
159
70
Cite this Article
BibTeX
Article Info
doi: 10.6041/j.issn.1000-1298.2025.12.056
  • Receive Date:2024-07-09
  • Online Date:2026-09-30
  • Published:2025-12-25
Article Data
Affiliations
History
  • Received:2024-07-09
  • Revised:2024-08-15
Funding
Affiliations
    1.School of Electric Power, Inner Mongolia University of Technology, Hohhot 010080, China
    2.Center for Intelligent Energy Technology and Equipment Engineering, Hohhot 010080, China
References
Share
https://castjournals.cast.org.cn/joweb/nyjxxb/EN/10.6041/j.issn.1000-1298.2025.12.056
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT