Comparative analysis of computer vision algorithms for the real-time detection of digital dermatitis in dairy cows

IF 2.2 2区 农林科学 Q1 VETERINARY SCIENCES Preventive veterinary medicine Pub Date : 2024-05-27 DOI:10.1016/j.prevetmed.2024.106235
Srikanth Aravamuthan, Preston Cernek, Kelly Anklam, Dörte Döpfer
{"title":"Comparative analysis of computer vision algorithms for the real-time detection of digital dermatitis in dairy cows","authors":"Srikanth Aravamuthan,&nbsp;Preston Cernek,&nbsp;Kelly Anklam,&nbsp;Dörte Döpfer","doi":"10.1016/j.prevetmed.2024.106235","DOIUrl":null,"url":null,"abstract":"<div><p>Digital dermatitis (DD) is a bovine claw disease responsible for ulcerative lesions on the planar aspect of the hoof. DD is associated with massive herd outbreaks of lameness and influences cattle welfare and production. Early detection of DD can lead to prompt treatment and decrease lameness. Computer vision (CV) provides a unique opportunity to improve early detection. The study aims to train and compare applications for the real-time detection of DD in dairy cows. Eight CV models were trained for detection and scoring, compared using performance metrics and inference time, and the best model was automated for real-time detection using images and video. Images were collected from commercial dairy farms while facing the interdigital space on the plantar surface of the foot. Images were scored for M-stages of DD by a trained investigator using the M-stage DD classification system with distinct labels for hyperkeratosis (H) and proliferations (P). Two sets of images were compiled: the first dataset (Dataset 1) containing 1,177 M0/M4H and 1,050 M2/M2P images and the second dataset (Dataset 2) containing 240 M0, 17 M2, 51 M2P, 114 M4H, and 108 M4P images. Models were trained to detect and score DD lesions and compared for precision, recall, and mean average precision (mAP) in addition to inference time in frame per second (FPS). Seven of the nine CV models performed well compared to the ground truth of labeled images using Dataset 1. The six models, Faster R-CNN, Cascade R-CNN, YOLOv3, Tiny YOLOv3, YOLOv4, Tiny YOLOv4, and YOLOv5s achieved an mAP between 0.964 and 0.998, whereas the other two models, SSD and SSD Lite, yielded an mAP of 0.371 and 0.387 respectively. Overall, YOLOv4, Tiny YOLOv4, and YOLOv5s outperformed all other models with almost perfect precision, perfect recall, and a higher mAP. Tiny YOLOv4 outperformed all other models with respect to inference time at 333 FPS, followed by YOLOv5s at 133 FPS and YOLOv4 at 65 FPS. YOLOv4 and Tiny YOLOv4 performed better than YOLOv5s compared to the ground truth using Dataset 2. YOLOv4 and Tiny YOLOv4 yielded a similar mAP of 0.896 and 0.895, respectively. However, Tiny YOLOv4 achieved both higher precision and recall compared to YOLOv4. Finally, Tiny YOLOv4 was able to detect DD lesions on a commercial dairy farm with high performance and speed. The proposed CV tool can be used for early detection and prompt treatment of DD in dairy cows. This result is a step towards applying CV algorithms to veterinary medicine and implementing real-time DD detection on dairy farms.</p></div>","PeriodicalId":20413,"journal":{"name":"Preventive veterinary medicine","volume":"229 ","pages":"Article 106235"},"PeriodicalIF":2.2000,"publicationDate":"2024-05-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Preventive veterinary medicine","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167587724001211","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"VETERINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Digital dermatitis (DD) is a bovine claw disease responsible for ulcerative lesions on the planar aspect of the hoof. DD is associated with massive herd outbreaks of lameness and influences cattle welfare and production. Early detection of DD can lead to prompt treatment and decrease lameness. Computer vision (CV) provides a unique opportunity to improve early detection. The study aims to train and compare applications for the real-time detection of DD in dairy cows. Eight CV models were trained for detection and scoring, compared using performance metrics and inference time, and the best model was automated for real-time detection using images and video. Images were collected from commercial dairy farms while facing the interdigital space on the plantar surface of the foot. Images were scored for M-stages of DD by a trained investigator using the M-stage DD classification system with distinct labels for hyperkeratosis (H) and proliferations (P). Two sets of images were compiled: the first dataset (Dataset 1) containing 1,177 M0/M4H and 1,050 M2/M2P images and the second dataset (Dataset 2) containing 240 M0, 17 M2, 51 M2P, 114 M4H, and 108 M4P images. Models were trained to detect and score DD lesions and compared for precision, recall, and mean average precision (mAP) in addition to inference time in frame per second (FPS). Seven of the nine CV models performed well compared to the ground truth of labeled images using Dataset 1. The six models, Faster R-CNN, Cascade R-CNN, YOLOv3, Tiny YOLOv3, YOLOv4, Tiny YOLOv4, and YOLOv5s achieved an mAP between 0.964 and 0.998, whereas the other two models, SSD and SSD Lite, yielded an mAP of 0.371 and 0.387 respectively. Overall, YOLOv4, Tiny YOLOv4, and YOLOv5s outperformed all other models with almost perfect precision, perfect recall, and a higher mAP. Tiny YOLOv4 outperformed all other models with respect to inference time at 333 FPS, followed by YOLOv5s at 133 FPS and YOLOv4 at 65 FPS. YOLOv4 and Tiny YOLOv4 performed better than YOLOv5s compared to the ground truth using Dataset 2. YOLOv4 and Tiny YOLOv4 yielded a similar mAP of 0.896 and 0.895, respectively. However, Tiny YOLOv4 achieved both higher precision and recall compared to YOLOv4. Finally, Tiny YOLOv4 was able to detect DD lesions on a commercial dairy farm with high performance and speed. The proposed CV tool can be used for early detection and prompt treatment of DD in dairy cows. This result is a step towards applying CV algorithms to veterinary medicine and implementing real-time DD detection on dairy farms.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
实时检测奶牛数字皮炎的计算机视觉算法比较分析
数字皮炎(DD)是一种牛爪疾病,会导致牛蹄平面出现溃疡性病变。DD 与牛群大规模爆发跛足症有关,并影响牛的福利和生产。及早发现 DD 可以及时治疗并减少跛足。计算机视觉(CV)为改善早期检测提供了一个独特的机会。本研究旨在训练和比较用于实时检测奶牛跛足的应用程序。对八个 CV 模型进行了检测和评分训练,使用性能指标和推理时间对其进行比较,并将最佳模型自动用于使用图像和视频进行实时检测。从商业化奶牛场采集的图像是面向足跖面的趾间隙拍摄的。由一名经过培训的研究人员使用 M 阶段 DD 分类系统对图像进行 M 阶段 DD 评分,并对角化过度(H)和增殖(P)进行区分。我们制作了两组图像:第一组数据集(数据集 1)包含 1,177 张 M0/M4H 和 1,050 张 M2/M2P 图像,第二组数据集(数据集 2)包含 240 张 M0、17 张 M2、51 张 M2P、114 张 M4H 和 108 张 M4P 图像。对模型进行了训练,以检测 DD 病变并对其进行评分,并比较了精确度、召回率和平均精确度 (mAP) 以及以每秒帧数 (FPS) 为单位的推理时间。与使用数据集 1 的标注图像的基本真相相比,九个 CV 模型中有七个表现良好。其中,Faster R-CNN、Cascade R-CNN、YOLOv3、Tiny YOLOv3、YOLOv4、Tiny YOLOv4 和 YOLOv5s 这六个模型的 mAP 在 0.964 和 0.998 之间,而另外两个模型 SSD 和 SSD Lite 的 mAP 分别为 0.371 和 0.387。总体而言,YOLOv4、Tiny YOLOv4 和 YOLOv5s 的表现优于所有其他模型,它们具有几乎完美的精确度、完美的召回率和更高的 mAP。在推理时间方面,Tiny YOLOv4 以 333 FPS 的成绩优于所有其他模型,YOLOv5s 以 133 FPS 的成绩紧随其后,YOLOv4 以 65 FPS 的成绩紧随其后。与数据集 2 的地面实况相比,YOLOv4 和 Tiny YOLOv4 的表现优于 YOLOv5s。YOLOv4 和 Tiny YOLOv4 的 mAP 值相似,分别为 0.896 和 0.895。不过,与 YOLOv4 相比,Tiny YOLOv4 获得了更高的精确度和召回率。最后,Tiny YOLOv4 能够高性能、快速地检测商业化奶牛场的 DD 病变。所提出的 CV 工具可用于奶牛 DD 的早期检测和及时治疗。这一成果为将 CV 算法应用于兽医领域以及在奶牛场实施实时 DD 检测迈出了一步。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Preventive veterinary medicine
Preventive veterinary medicine 农林科学-兽医学
CiteScore
5.60
自引率
7.70%
发文量
184
审稿时长
3 months
期刊介绍: Preventive Veterinary Medicine is one of the leading international resources for scientific reports on animal health programs and preventive veterinary medicine. The journal follows the guidelines for standardizing and strengthening the reporting of biomedical research which are available from the CONSORT, MOOSE, PRISMA, REFLECT, STARD, and STROBE statements. The journal focuses on: Epidemiology of health events relevant to domestic and wild animals; Economic impacts of epidemic and endemic animal and zoonotic diseases; Latest methods and approaches in veterinary epidemiology; Disease and infection control or eradication measures; The "One Health" concept and the relationships between veterinary medicine, human health, animal-production systems, and the environment; Development of new techniques in surveillance systems and diagnosis; Evaluation and control of diseases in animal populations.
期刊最新文献
The global prevalence of microsporidia infection in rabbits as a neglected public health concern: A systematic review and meta-analysis Operational lessons learned from simulating an elimination response to a transboundary animal disease in wild animals. Economic assessment of animal disease burden in Senegalese small ruminants Editorial Board Causes of abortion in Iranian goat herds and associated risk factors
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1