Automatic Cattle Identification using YOLOv5 and Mosaic Augmentation: A Comparative Analysis
Not on the map. Why?
Abstract (arXiv)
You Only Look Once (YOLO) is a single-stage object detection model popular for real-time object detection, accuracy, and speed. This paper investigates the YOLOv5 model to identify cattle in the yards. The current solution to cattle identification includes radio-frequency identification (RFID) tags. The problem occurs when the RFID tag is lost or damaged. A biometric solution identifies the cattle and helps to assign the lost or damaged tag or replace the RFID-based system. Muzzle patterns in cattle are unique biometric solutions like a fingerprint in humans. This paper aims to present our recent research in utilizing five popular object detection models, looking at the architecture of YOLOv5, investigating the performance of eight backbones with the YOLOv5 model, and the influence of mosaic augmentation in YOLOv5 by experimental results on the available cattle muzzle images. Finally, we concluded with the excellent potential of using YOLOv5 in automatic cattle identification. Our experiments show YOLOv5 with transformer performed best with mean Average Precision (mAP) 0.5 (the average of AP when the IoU is greater than 50%) of 0.995, and mAP 0.5:0.95 (the average of AP from 50% to 95% IoU with an interval of 5%) of 0.9366. In addition, our experiments show the increase in accuracy of the model by using mosaic augmentation in all backbones used in our experiments. Moreover, we can also detect cattle with partial muzzle images.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 23 of its 67 references that are in the map. First posted on arXiv 21 Oct 2022.
Builds on
23 of 67 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2018YOLOv3: An Incremental Improvementcited by 2,652
11 more
- 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,624
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
- 2019When Does Label Smoothing Help?cited by 985
- 2018Path Aggregation Network for Instance Segmentationcited by 796
- 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 719
- 2019CSPNet: A New Backbone that can Enhance Learning Capability of CNNcited by 381
- 2020Enhancing Geometric Factors in Model Learning and Inference for Object Detection and Instance Segmentationcited by 98
- 2021TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object Detection on Drone-captured Scenarioscited by 83
- 2021YOLO5Face: Why Reinventing a Face Detectorcited by 44
- 2020Visual Identification of Individual Holstein-Friesian Cattle via Deep Metric Learningcited by 26
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 2.
5 papers.
- 2025When Language Model Guides Vision: Grounding DINO for Cattle Muzzle Detectioncited by 1
- 2025CCoMAML: Efficient Cattle Identification Using Cooperative Model-Agnostic Meta-Learningcited by 1
- 2024Surveying You Only Look Once (YOLO) Multispectral Object Detection Advancements, Applications And Challengescited by 0
- 2026ReasonEdit: Editing Vision-Language Models using Human Reasoningcited by 0
- 2026Advanced Machine Learning and Deep Learning Techniques for Enhanced Cattle Identification and Detection: A Comprehensive Reviewcited by 0
- 2026Advanced Machine Learning and Deep Learning Techniques for Enhanced Cattle Identification and Detection: A Comprehensive Review5 Apr 2026
- 2026ReasonEdit: Editing Vision-Language Models using Human Reasoning2 Feb 2026
- 2025CCoMAML: Efficient Cattle Identification Using Cooperative Model-Agnostic Meta-Learning14 Sep 2025
- 2025When Language Model Guides Vision: Grounding DINO for Cattle Muzzle Detection8 Sep 2025
- 2024Surveying You Only Look Once (YOLO) Multispectral Object Detection Advancements, Applications And Challenges3 Sep 2024