420 Automated identification and behavioral estrus detection in freestall-housed dairy cows using computer vision and machine learning: A two-layered algorithm approach

Abstract A critical aspect of dairy management involves maintaining accurate records of individual animals and promptly detecting estrus behavior, which is vital for successful breeding and reproductive outcomes. Recent advancements in precision livestock management, utilizing computer vision and machine learning technologies, have paved the way for automated and precise solutions in these areas. The objective of this study is to investigate the application of computer vision and machine learning for animal identification and behavioral estrus detection in dairy cows housed in freestall settings, employing a two-layered algorithmic approach. The research was conducted at the Joe Bearden Dairy Research Center, where a total of 10 lactating Holstein-Friesian cows were assessed across a 7-d trial period. For synchronization efforts, cows were provided a single injection of Prostaglandin F2α at trial initiation with expected estrus behaviors to be exhibited within the following 56 h. Continuous video was captured in 4k resolution using a five-camera closed caption media recording system strategically placed in the pen corners and over the feed bunk alleyway to capture multiple perspectives. Video data extrapolated into frames and manual annotation was utilized to generate the machine learning algorithm’s training data. Frames were randomly selected from a scattering of 56 h of video across all five camera viewpoints and down sampled to 384 x 640 p for both layers. A two-layer approach was employed utilizing an algorithm for each aspect of the study with the first model detecting the behavior, and the second model using the detected region of interest to identify specific cows. The first layer was trained on 682 frames and validated against 123 manually annotated frames. The second layer was trained on 102 frames and validated against 16 frames manually annotated for individual animals. Results demonstrated that the model used for mounting behavior identification has high precision (0.819) and recall (0.89), achieving a 0.926 mAP at an IoU of 0.5. This model achieved an F1 score of 0.86 at a confidence threshold of 0.268. The results demonstrated that the model used for individual animal identification across different classes achieved high precision (0.861) and recall (0.842), with a mAP of 0.897 at an IoU of 0.5. The F1 score for all classes was 0.89 at a confidence threshold of 0.788. In conclusion, these promising findings underscore the potential of computer vision and machine learning technologies to revolutionize dairy cow management practices. This innovative approach not only has potential to enhance operational efficiency, but also contributes significantly to improved reproductive management, thereby advancing precision and productivity in dairy operations.

Authors

Institutions

Publication Details

Journal
Journal of Animal Science
Published
2024-09-01
DOI
https://doi.org/10.1093/jas/skae234.005
Citations
1
Primary Topic
Effects of Environmental Stressors on Livestock
Type
article
Field-Weighted Citation Impact
0.34
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

420 Automated identification and behavioral estrus detection in freestall-housed dairy cows using computer vision and machine learning: A two-layered algorithm approach

Allison Griffin, Kenneth Graves, Christopher R. Hudson, Abigail Victory et al.
1 citations
Journal of Animal Science
Effects of Environmental Stressors on Livestock
0.34
article

420 Automated identification and behavioral estrus detection in freestall-housed dairy cows using computer vision and machine learning: A two-layered algorithm approach

Allison Griffin, Kenneth Graves, Christopher R. Hudson, Abigail Victory, Cierra Clayton, M. McGee
article en
1 citations

Abstract

Abstract A critical aspect of dairy management involves maintaining accurate records of individual animals and promptly detecting estrus behavior, which is vital for successful breeding and reproductive outcomes. Recent advancements in precision livestock management, utilizing computer vision and machine learning technologies, have paved the way for automated and precise solutions in these areas. The objective of this study is to investigate the application of computer vision and machine learning for animal identification and behavioral estrus detection in dairy cows housed in freestall settings, employing a two-layered algorithmic approach. The research was conducted at the Joe Bearden Dairy Research Center, where a total of 10 lactating Holstein-Friesian cows were assessed across a 7-d trial period. For synchronization efforts, cows were provided a single injection of Prostaglandin F2α at trial initiation with expected estrus behaviors to be exhibited within the following 56 h. Continuous video was captured in 4k resolution using a five-camera closed caption media recording system strategically placed in the pen corners and over the feed bunk alleyway to capture multiple perspectives. Video data extrapolated into frames and manual annotation was utilized to generate the machine learning algorithm’s training data. Frames were randomly selected from a scattering of 56 h of video across all five camera viewpoints and down sampled to 384 x 640 p for both layers. A two-layer approach was employed utilizing an algorithm for each aspect of the study with the first model detecting the behavior, and the second model using the detected region of interest to identify specific cows. The first layer was trained on 682 frames and validated against 123 manually annotated frames. The second layer was trained on 102 frames and validated against 16 frames manually annotated for individual animals. Results demonstrated that the model used for mounting behavior identification has high precision (0.819) and recall (0.89), achieving a 0.926 mAP at an IoU of 0.5. This model achieved an F1 score of 0.86 at a confidence threshold of 0.268. The results demonstrated that the model used for individual animal identification across different classes achieved high precision (0.861) and recall (0.842), with a mAP of 0.897 at an IoU of 0.5. The F1 score for all classes was 0.89 at a confidence threshold of 0.788. In conclusion, these promising findings underscore the potential of computer vision and machine learning technologies to revolutionize dairy cow management practices. This innovative approach not only has potential to enhance operational efficiency, but also contributes significantly to improved reproductive management, thereby advancing precision and productivity in dairy operations.

Journal of Animal ScienceVol. 102(Supplement_3)
Mississippi State University (US)
Openalex Percentile: Top 42%
Effects of Environmental Stressors on Livestock
0.34
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.