Cierra Clayton, Malena Heck, Kenneth Graves, Christopher Hudson, Marcus McGee
{"title":"414 Enhancing estrus detection in group-housed dairy cattle: Evaluating computer vision against traditional and sensor-based methods.","authors":"Cierra Clayton, Malena Heck, Kenneth Graves, Christopher Hudson, Marcus McGee","doi":"10.1093/jas/skaf300.293","DOIUrl":null,"url":null,"abstract":"Recent advancements in computer vision have the potential to revolutionize animal management in the dairy industry. As a cost-effective alternative to activity monitors, computer vision reduces the number of devices required per animal. The present study compares computer vision techniques (CV) with traditional visual observation (TVO) and activity monitors (ACT) for estrus detection. Ten lactating Holstein Friesian cows housed in a single pen were examined for estrus over a ten-day trial period. Twelve hours prior to trial initiation, cows were fitted with an AfiTag II activity monitor (Afimilk) and synchronized 60 hours later via a single injection of Lutalyse (Dinoprost tromethamine 5mg/mL; Zoetis). Four corner mounted cameras captured continuous 1080p resolution footage, resulting in a total of 960 hours of video for post hoc data analysis. All video was manually reviewed for positive identification of behavioral estrus based on a pre-defined threshold behavioral score. TVO was conducted by trained observers over three 15-minute periods per day beginning at 03:15, 11:45, and 15:15, with expression of estrus behaviors quantified throughout each day. ACT data was manually recorded every 12 hours and included steps (S) and lying bouts (LB). Differences in activity were calculated each collection period, with a two-fold increase identified as a positive indication of behavioral estrus based. YOLOv10s was used as the CV base model. Sixty-two hours of estrus-related footage were selected and extrapolated into 223,200 frames. From these extrapolated frames, 1,152 were manually labeled for estrus behaviors. Eighty percent of the labeled frames were used for training, while twenty percent were used for validation. Rectal temperature (RT), and temperature-humidity index (THI) were recorded throughout the trial period to assess environmental effects. Statistical analyses were performed using the PROC MIXED procedure in SAS software. LB and S were not significantly influenced by THI (LB: P = 0.48, S: P = 0.67), RT (LB: P = 0.37, S: P = 0.51), or each other (LB: P = 0.97, S: P = 0.97); however, they varied significantly by cow (LB: P < 0.01, S: P = 0.03) and hour post-injection (LB: P < 0.01, S: P < 0.01). Precision, recall, and F1 scores were calculated for each estrus detection method. TVO had 100% precision, 25% recall and an F1 score of 40%. ACT provided 87.5% precision, 70% recall, and an F1 score of 77.8%. CV achieved 95.9% precision, 91.4% recall, and an F1 score of 93%. Though TVO had perfect precision, its low recall score reflects many false negatives. To this end, modern technologies appear superior to TVO, with CV dominant over ACT. Given its greater performance and reduced reliance on per-animal devices, computer vision presents a cost-efficient and accurate estrus detection solution for dairy producers.","PeriodicalId":14895,"journal":{"name":"Journal of animal science","volume":"7 1","pages":""},"PeriodicalIF":2.9000,"publicationDate":"2025-10-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of animal science","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1093/jas/skaf300.293","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Recent advancements in computer vision have the potential to revolutionize animal management in the dairy industry. As a cost-effective alternative to activity monitors, computer vision reduces the number of devices required per animal. The present study compares computer vision techniques (CV) with traditional visual observation (TVO) and activity monitors (ACT) for estrus detection. Ten lactating Holstein Friesian cows housed in a single pen were examined for estrus over a ten-day trial period. Twelve hours prior to trial initiation, cows were fitted with an AfiTag II activity monitor (Afimilk) and synchronized 60 hours later via a single injection of Lutalyse (Dinoprost tromethamine 5mg/mL; Zoetis). Four corner mounted cameras captured continuous 1080p resolution footage, resulting in a total of 960 hours of video for post hoc data analysis. All video was manually reviewed for positive identification of behavioral estrus based on a pre-defined threshold behavioral score. TVO was conducted by trained observers over three 15-minute periods per day beginning at 03:15, 11:45, and 15:15, with expression of estrus behaviors quantified throughout each day. ACT data was manually recorded every 12 hours and included steps (S) and lying bouts (LB). Differences in activity were calculated each collection period, with a two-fold increase identified as a positive indication of behavioral estrus based. YOLOv10s was used as the CV base model. Sixty-two hours of estrus-related footage were selected and extrapolated into 223,200 frames. From these extrapolated frames, 1,152 were manually labeled for estrus behaviors. Eighty percent of the labeled frames were used for training, while twenty percent were used for validation. Rectal temperature (RT), and temperature-humidity index (THI) were recorded throughout the trial period to assess environmental effects. Statistical analyses were performed using the PROC MIXED procedure in SAS software. LB and S were not significantly influenced by THI (LB: P = 0.48, S: P = 0.67), RT (LB: P = 0.37, S: P = 0.51), or each other (LB: P = 0.97, S: P = 0.97); however, they varied significantly by cow (LB: P < 0.01, S: P = 0.03) and hour post-injection (LB: P < 0.01, S: P < 0.01). Precision, recall, and F1 scores were calculated for each estrus detection method. TVO had 100% precision, 25% recall and an F1 score of 40%. ACT provided 87.5% precision, 70% recall, and an F1 score of 77.8%. CV achieved 95.9% precision, 91.4% recall, and an F1 score of 93%. Though TVO had perfect precision, its low recall score reflects many false negatives. To this end, modern technologies appear superior to TVO, with CV dominant over ACT. Given its greater performance and reduced reliance on per-animal devices, computer vision presents a cost-efficient and accurate estrus detection solution for dairy producers.
计算机视觉的最新进展有可能彻底改变乳制品行业的动物管理。作为一种具有成本效益的活动监视器替代品,计算机视觉减少了每只动物所需的设备数量。本研究将计算机视觉技术(CV)与传统的视觉观察(TVO)和活动监测仪(ACT)用于发情检测进行了比较。在10天的试验期内,将10头泌乳荷斯坦弗里西亚奶牛饲养在一个围栏内,检查其发情情况。试验开始前12小时,给奶牛安装AfiTag II活性监测仪(afimmilk),并在60小时后通过单次注射Lutalyse (Dinoprost tromethamine 5mg/mL; Zoetis)进行同步。四个安装在角落的摄像机捕获连续1080p分辨率的镜头,总共960小时的视频用于事后数据分析。根据预先定义的阈值行为评分,手动审查所有视频以确定行为发情的阳性识别。TVO由训练有素的观察员在每天03:15,11:45和15:15开始的三个15分钟的时间段内进行,每天量化发情行为的表达。每12小时手工记录一次ACT数据,包括步数(S)和卧周数(LB)。计算每个收集期的活动差异,两倍的增加被确定为基于行为发情的积极迹象。以YOLOv10s为CV基础模型。选择了62小时与发情有关的镜头,并将其推断为223,200帧。从这些推断的框架中,1152个被手工标记为发情行为。80%的标记帧用于训练,而20%用于验证。在整个试验期间记录直肠温度(RT)和温湿指数(THI),以评估环境影响。采用SAS软件中的PROC mix程序进行统计分析。THI (LB: P = 0.48, S: P = 0.67)、RT (LB: P = 0.37, S: P = 0.51)或彼此(LB: P = 0.97, S: P = 0.97)对LB和S无显著影响;不同奶牛(LB: P < 0.01, S: P = 0.03)和注射后1h (LB: P < 0.01, S: P < 0.01)差异显著。计算每种发情检测方法的准确率、召回率和F1评分。TVO的准确率为100%,召回率为25%,F1得分为40%。ACT的准确率为87.5%,召回率为70%,F1得分为77.8%。CV的准确率为95.9%,召回率为91.4%,F1得分为93%。虽然TVO具有完美的准确率,但其较低的召回分数反映了许多假阴性。为此,现代技术似乎优于TVO, CV优于ACT。鉴于其更高的性能和减少对每只动物设备的依赖,计算机视觉为乳制品生产商提供了一种经济高效且准确的发情检测解决方案。
期刊介绍:
The Journal of Animal Science (JAS) is the premier journal for animal science and serves as the leading source of new knowledge and perspective in this area. JAS publishes more than 500 fully reviewed research articles, invited reviews, technical notes, and letters to the editor each year.
Articles published in JAS encompass a broad range of research topics in animal production and fundamental aspects of genetics, nutrition, physiology, and preparation and utilization of animal products. Articles typically report research with beef cattle, companion animals, goats, horses, pigs, and sheep; however, studies involving other farm animals, aquatic and wildlife species, and laboratory animal species that address fundamental questions related to livestock and companion animal biology will be considered for publication.