基于改进DeepLabCut和NeuFlow v2的奶牛蹄部打滑行为视频检测
Video-Based Detection of Dairy Cow Hoof-Slipping Behaviour Using Improved DeepLabCut and NeuFlow v2.
Video-Based Detection of Dairy Cow Hoof-Slipping Behaviour Using Improved DeepLabCut and NeuFlow v2.
奶牛蹄部滑移是一种细微、短暂且易被忽视的蹄部运动事件,区别于跛行或跌倒,其持续时间短、位移有限,且与正常步态高度相似,因而自动检测尤为困难;相关方法仍然匮乏。本研究提出一种基于改进DeepLabCut与NeuFlow v2的级联检测框架,用于荷斯坦奶牛的蹄部滑移自动检测与距离估计。该四阶段框架涵盖蹄部关键点定位、像素级光流融合、运动参数曲线特征提取以及随机森林分类。该框架在数据集1上开发,该数据集包含115段单牛侧视视频,其中31段包含滑移事件,84段为正常行走。随后在一个规模更小的第二牧场数据集(数据集2,17段单牛视频)上进一步评估。采用引入坐标注意力机制的ResNet-50作为主干网络,在五次独立训练运行中将四蹄定位平均RMSE降至2.80像素,较基线提升15.2%,并优于YOLOv8s-Pose。应用NeuFlow v2从蹄部区域提取局部光流,得到速度与方向曲线,并由此衍生滑移特征。随机森林分类器达到98.9%的准确率、93.3%的精确率、90.3%的召回率、91.8%的F1分数和0.995的AUC,优于MViT、SlowFast和STME。滑移距离估计的RMSE为1.22像素。在新牧场帧上重新训练定位模型后,该方法在第二牧场达到可比性能,提示其具有初步的跨牧场泛化能力,但仍需更大规模验证。所提出的框架为早期蹄部健康监测和以动物福利为导向的牧场管理提供了非侵入性基础。
Hoof slipping in dairy cows is a subtle, transient hoof motion event distinct from lameness or falling, with short duration, limited displacement, and close resemblance to normal gait, making automated detection particularly challenging; relevant methods remain scarce. This study proposes a cascaded detection framework based on improved DeepLabCut and NeuFlow v2 for automated hoof-slipping detection and distance estimation in Holstein dairy cows. The four-stage framework covers hoof key point localization, pixel-level optical flow fusion, motion parameter curve feature extraction, and Random Forest classification. The framework was developed on Dataset 1, which contained 115 single-cow side-view videos. Of these, 31 contained slipping events and 84 were normal walking. It was further assessed on a smaller second-farm dataset of 17 single-cow videos (Dataset 2). ResNet-50 with a Coordinate Attention mechanism was adopted as the backbone, reducing mean four-hoof localization RMSE to 2.80 pixels across five independent training runs, showing a 15.2% improvement over the baseline, and outperforming YOLOv8s-Pose. NeuFlow v2 was applied to extract the localized optical flow from hoof regions, yielding velocity and directional curves from which slipping features were derived. The Random Forest classifier achieved an accuracy of 98.9%, precision of 93.3%, recall of 90.3%, F1 score of 91.8%, and AUC of 0.995, outperforming MViT, SlowFast, and STME. The slipping distance estimation RMSE was 1.22 pixels. With the localisation model retrained on new farm frames, the method reached comparable performance on the second farm, suggesting preliminary cross-farm generalisability that warrants larger-scale validation. The proposed framework provides a non-invasive basis for early hoof-health monitoring and welfare-oriented farm management.
Yue Nian, Kaixuan Zhao, Jiangtao Ji, Yinan Chen, Ruihong Zhang. Video-Based Detection of Dairy Cow Hoof-Slipping Behaviour Using Improved DeepLabCut and NeuFlow v2.. Animals : an open access journal from MDPI. 2026; doi:10.3390/ani16132103.
Yue Nian, Kaixuan Zhao, Jiangtao Ji, Yinan Chen, Ruihong Zhang (2026). Video-Based Detection of Dairy Cow Hoof-Slipping Behaviour Using Improved DeepLabCut and NeuFlow v2.. Animals : an open access journal from MDPI. https://doi.org/10.3390/ani16132103
Yue Nian, Kaixuan Zhao, Jiangtao Ji, Yinan Chen, Ruihong Zhang. Video-Based Detection of Dairy Cow Hoof-Slipping Behaviour Using Improved DeepLabCut and NeuFlow v2.[J]. Animals : an open access journal from MDPI, 2026 doi:10.3390/ani16132103.
翻译全文 · AI 文献问答 · PDF 原文下载 · 引用导出