The final, formatted version of the article will be published soon.
ORIGINAL RESEARCH article
Front. Vet. Sci.
Sec. Animal Behavior and Welfare
Volume 12 - 2025 |
doi: 10.3389/fvets.2025.1514212
This article is part of the Research Topic Advances in Precision Livestock Management for Grazing Ruminant Systems View all 3 articles
YOLOv8-CBAM: A study of Sheep Head Identification in Ujumqin sheep
Provisionally accepted- 1 Inner Mongolia Agricultural University, Hohhot, China
- 2 Inner Mongolia Autonomous region Agriculture and Animal Husbandry Technology Popularization Center, Hohhot City, China
- 3 East Ujumqin Banner Hishig Animal Husbandry Development Co., Ltd., East Ujumqin Banner, China
- 4 Erdos Agricultural and animal Husbandry Science Research Institute, Erdos city, China
The facial coloration of sheep is not only a critical characteristic for breed and individual identification but also serves as a significant indicator for assessing genetic diversity and guiding selective breeding efforts. In this study, 201 Ujumqin sheep were used as research objects and 1713 head image data were collected. We delineated feature points related to the facial coloration of Ujumqin sheep and successfully developed a head color recognition model (YOLOv8-CBAM) utilizing the YOLOv8 architecture in conjunction with the CBAM attention mechanism. The model demonstrated impressive performance in recognizing four head color categories, achieving an average precision (mAP) of 97.7% and an F1 score of 0.94. In comparison to YOLOv8n, YOLOv8l, YOLOv8m, YOLOv8s, and YOLOv8x, the YOLOv8-CBAM model enhances average accuracy by 0.5%, 1%, 0.7%, 0.7%, and 1.6%, respectively. Furthermore, when compared to YOLOv3, the improvement is 1%, while YOLOv5n and YOLOv10n show increases of 1.4% and 2.4%, respectively. The findings indicate that the smaller model exhibited superior performance in the facial color recognition task for Ujumqin sheep. Overall, the YOLOv8-CBAM model achieved high accuracy in the head color recognition task, providing reliable technical support for automated sheep management systems.
Keywords: Attention, Computer Vision, face recognition, Head colors, object detection
Received: 20 Oct 2024; Accepted: 27 Jan 2025.
Copyright: © 2025 Qin, Zhou, Gao, Wang, A, Hai, Alatan, Zhang and Liu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Zhihong Liu, Inner Mongolia Agricultural University, Hohhot, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.