Computer vision in precision livestock farming: benchmarking YOLOv9, YOLOv10, YOLOv11, and YOLOv12 for individual cattle identification

• Benchmarked YOLOv9–v12 for cattle identification under real farm conditions • Collected a large dataset of 91,694 images using a multi-camera surveillance system • YOLOv12m achieved the highest accuracy even in challenging barn environments • YOLOv11m offered a strong balance between accuracy, speed, and practical deployment • Results guide model selection for scalable AI-driven livestock monitoring solutions Individual animal identification is fundamental to effective livestock traceability and precision management. This study evaluates the performance of four recent object detection models (YOLOv9m, YOLOv10m, YOLOv11m, and YOLOv12m) for automated cattle identification using a numerical labelling approach in real barn environments. A custom dataset comprising 91,694 annotated frames was collected from a multi-camera surveillance system deployed in a barn area housing dairy cows. The cameras were strategically positioned to provide overlapping coverage and to capture animals under varied barn lighting conditions and crowded environments. Each model was trained and assessed using standard performance metrics, including mean average precision (mAP) at Intersection over Union (IoU) thresholds of 0.50 and 0.50–0.95, as well as precision, recall, inference speed, and model size. Among the models evaluated, YOLOv12m achieved the highest detection accuracy (mAP50 = 0.947; mAP50–95 = 0.911), indicating strong capability in distinguishing individual cattle based on numerical markings even under complex environments. YOLOv11m offered a competitive balance between detection accuracy and computational efficiency, making it suitable for real-time applications. The study also compared model performance with findings from earlier YOLO-based approaches and highlighted significant improvements in robustness and deployment readiness offered by newer versions. These results demonstrate that recent YOLO models are well-suited for individual cattle identification in practical farm environments. The findings provide useful guidance for selecting models based on operational requirements such as accuracy, processing speed, and device constraints, contributing to the advancement of computer vision applications in precision livestock farming.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-07-16
DOI
https://doi.org/10.1016/j.atech.2025.101208
Citations
7
Primary Topic
Food Supply Chain Traceability
Type
article
Field-Weighted Citation Impact
8.14

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Computer vision in precision livestock farming: benchmarking YOLOv9, YOLOv10, YOLOv11, and YOLOv12 for individual cattle identification

Roman Bumbálek, Radim Stehlík, Radim Kuneš, Petr Bartoš et al.
7 citations
Smart Agricultural Technology
Food Supply Chain Traceability
8.14
article

Computer vision in precision livestock farming: benchmarking YOLOv9, YOLOv10, YOLOv11, and YOLOv12 for individual cattle identification

Roman Bumbálek, Radim Stehlík, Radim Kuneš, Petr Bartoš, Tomáš Zoubek, Jean de Dieu Marcel Ufitikirezi, Sandra Nicole Umurungi
article en
7 citations

Abstract

• Benchmarked YOLOv9–v12 for cattle identification under real farm conditions • Collected a large dataset of 91,694 images using a multi-camera surveillance system • YOLOv12m achieved the highest accuracy even in challenging barn environments • YOLOv11m offered a strong balance between accuracy, speed, and practical deployment • Results guide model selection for scalable AI-driven livestock monitoring solutions Individual animal identification is fundamental to effective livestock traceability and precision management. This study evaluates the performance of four recent object detection models (YOLOv9m, YOLOv10m, YOLOv11m, and YOLOv12m) for automated cattle identification using a numerical labelling approach in real barn environments. A custom dataset comprising 91,694 annotated frames was collected from a multi-camera surveillance system deployed in a barn area housing dairy cows. The cameras were strategically positioned to provide overlapping coverage and to capture animals under varied barn lighting conditions and crowded environments. Each model was trained and assessed using standard performance metrics, including mean average precision (mAP) at Intersection over Union (IoU) thresholds of 0.50 and 0.50–0.95, as well as precision, recall, inference speed, and model size. Among the models evaluated, YOLOv12m achieved the highest detection accuracy (mAP50 = 0.947; mAP50–95 = 0.911), indicating strong capability in distinguishing individual cattle based on numerical markings even under complex environments. YOLOv11m offered a competitive balance between detection accuracy and computational efficiency, making it suitable for real-time applications. The study also compared model performance with findings from earlier YOLO-based approaches and highlighted significant improvements in robustness and deployment readiness offered by newer versions. These results demonstrate that recent YOLO models are well-suited for individual cattle identification in practical farm environments. The findings provide useful guidance for selecting models based on operational requirements such as accuracy, processing speed, and device constraints, contributing to the advancement of computer vision applications in precision livestock farming.

Smart Agricultural TechnologyVol. 12
University of South Bohemia in České Budějovice (CZ)
Technology Agency of the Czech Republic
Zero hunger
Openalex Percentile: Top 2%
Food Supply Chain Traceability
8.14
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.