Author
Listed:
- Ziruo Li
(Key Lab of Smart Agriculture Systems, Ministry of Education, China Agricultural University, Beijing 100083, China)
- Yadan Zhang
(Key Lab of Smart Agriculture Systems, Ministry of Education, China Agricultural University, Beijing 100083, China)
- Xi Kang
(School of Computer and Data Engineering, NingboTech University, Ningbo 315100, China)
- Tianci Mao
(Key Lab of Smart Agriculture Systems, Ministry of Education, China Agricultural University, Beijing 100083, China)
- Yanbin Li
(School of Electronics Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China)
- Gang Liu
(Key Lab of Smart Agriculture Systems, Ministry of Education, China Agricultural University, Beijing 100083, China)
Abstract
Deep learning-based individual recognition of beef cattle has improved the efficiency and effectiveness of individual recognition, providing technical support for modern large-scale farms. However, issues such as over-reliance on back patterns, similar patterns of adjacent cattle leading to low recognition accuracy, and difficulties in deploying models on edge devices exist in the process of group cattle recognition. In this study, we proposed a model based on improved YOLO v5. Specifically, a Simple, Parameter-Free (SimAM) attention module is connected with the residual network and Multidimensional Collaborative Attention mechanism (MCA) to obtain the MCA-SimAM-Resnet (MRS-ATT) module, enhancing the model’s feature extraction and expression capabilities. Then, the L M P D I o U loss function is used to improve the localization accuracy of bounding boxes during target detection. Finally, structural pruning is applied to the model to achieve a lightweight version of the improved YOLO v5. Using 211 test images, the improved YOLO v5 model achieved an individual recognition precision (P) of 93.2%, recall (R) of 94.6%, mean Average Precision (mAP) of 94.5%, FLOPs of 7.84, 13.22 M parameters, and an average inference speed of 0.0746 s. The improved YOLO v5 model can accurately and quickly identify individuals within groups of cattle, with fewer parameters, making it easy to deploy on edge devices, thereby accelerating the development of intelligent cattle farming.
Suggested Citation
Ziruo Li & Yadan Zhang & Xi Kang & Tianci Mao & Yanbin Li & Gang Liu, 2025.
"Individual Recognition of a Group Beef Cattle Based on Improved YOLO v5,"
Agriculture, MDPI, vol. 15(13), pages 1-22, June.
Handle:
RePEc:gam:jagris:v:15:y:2025:i:13:p:1391-:d:1689808
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:13:p:1391-:d:1689808. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.