Automatic body condition scoring system for dairy cows in group state based on improved YOLOv5 and video analysis

This study proposes an automated scoring system for cow body condition using improved YOLOv5 to assess the body condition distribution of herd cows, which significantly impacts herd productivity and feeding management. A dataset was created by capturing images of the cow's hindquarters using an image sensor at the entrance of the milking hall. This system enhances feature extraction ability by introducing dual path networks and convolutional block attention modules and improves efficiency by replacing some modules from the standard YOLOv5s with deep separable convolution to reduce parameters. Furthermore, the system employs an automatic detection and segmentation algorithm to achieve individual cow segmentation and body condition acquisition in the video. Subsequently, the system computes the body condition distribution of cows in a group state. The experimental findings demonstrate that the proposed model outperforms the original YOLOv5 network with higher accuracy and fewer computations and parameters. The precision, recall, and mean average precision of the model are 94.3 %, 92.5 %, and 91.8 %, respectively. The algorithm achieved an overall detection rate of 94.2 % for individual cow segmentation and body condition acquisition in the video, with a body condition scoring accuracy of 92.5 % among accurately detected cows and an overall body condition scoring accuracy of 87.1 % across the 10 video tests. • Automatic scoring of cow body condition can improve herd management efficiency. • A spatiotemporal prior-based algorithm is developed for cow segmentation and scoring. • The system is validated for application in real-world video streams.

Authors

Institutions

Publication Details

Journal
Artificial Intelligence in Agriculture
Published
2025-01-27
DOI
https://doi.org/10.1016/j.aiia.2025.01.010
Citations
6
Primary Topic
Effects of Environmental Stressors on Livestock
Type
article
Field-Weighted Citation Impact
7.16
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic body condition scoring system for dairy cows in group state based on improved YOLOv5 and video analysis

Zihao Zheng, Huaibo Song, Lifeng Qin, Pengbo Zeng et al.
6 citations
Artificial Intelligence in Agriculture
Effects of Environmental Stressors on Livestock
7.16
article

Automatic body condition scoring system for dairy cows in group state based on improved YOLOv5 and video analysis

Zihao Zheng, Huaibo Song, Lifeng Qin, Pengbo Zeng, Shuai Yue, Jingwen Li
article en
6 citations

Abstract

This study proposes an automated scoring system for cow body condition using improved YOLOv5 to assess the body condition distribution of herd cows, which significantly impacts herd productivity and feeding management. A dataset was created by capturing images of the cow's hindquarters using an image sensor at the entrance of the milking hall. This system enhances feature extraction ability by introducing dual path networks and convolutional block attention modules and improves efficiency by replacing some modules from the standard YOLOv5s with deep separable convolution to reduce parameters. Furthermore, the system employs an automatic detection and segmentation algorithm to achieve individual cow segmentation and body condition acquisition in the video. Subsequently, the system computes the body condition distribution of cows in a group state. The experimental findings demonstrate that the proposed model outperforms the original YOLOv5 network with higher accuracy and fewer computations and parameters. The precision, recall, and mean average precision of the model are 94.3 %, 92.5 %, and 91.8 %, respectively. The algorithm achieved an overall detection rate of 94.2 % for individual cow segmentation and body condition acquisition in the video, with a body condition scoring accuracy of 92.5 % among accurately detected cows and an overall body condition scoring accuracy of 87.1 % across the 10 video tests. • Automatic scoring of cow body condition can improve herd management efficiency. • A spatiotemporal prior-based algorithm is developed for cow segmentation and scoring. • The system is validated for application in real-world video streams.

Artificial Intelligence in AgricultureVol. 15(2)
Ministry of Agriculture and Rural Affairs (CN), Northwest A&F University (CN)
Zero hunger
Openalex Percentile: Top 3%
Effects of Environmental Stressors on Livestock
7.16
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.