As herd size on dairy farms continue to increase, automatic health monitoring of cows has gained in interest. Lameness, a prevalent health disorder in dairy cows, is commonly detected by analyzing the gait of cows. A cow's gait can be tracked in videos using pose estimation models because models learn to automatically localize anatomical landmarks in images and videos. Most animal pose estimation models are static, that is, videos are processed frame by frame and do not use any temporal information. In this work, a static deep-learning model for animal-pose-estimation was extended to a temporal model that includes information from past frames. We compared the performance of the static and temporal pose estimation models. The data consisted of 1059 samples of 4 consecutive frames extracted from videos (30 fps) of 30 different dairy cows walking through an outdoor passageway. As farm environments are prone to occlusions, we tested the robustness of the static and temporal models by adding artificial occlusions to the videos. The experiments showed that, on non-occluded data, both static and temporal approaches achieved a Percentage of Correct Keypoints (PCKh@0.2) of 99%. On occluded data, our temporal approach outperformed the static one by up to 32.9%, suggesting that using temporal data is beneficial for pose estimation in environments prone to occlusions, such as dairy farms. The generalization capabilities of the temporal model was evaluated by testing it on data containing unknown cows (cows not present in the training set). The results showed that the average detection rate (PCKh@0.2) was of 93.8% on known cows and 87.6% on unknown cows, indicating that the model is capable of generalizing well to new cows and that they could be easily fine-tuned to new herds. Finally, we showed that with harder tasks, such as occlusions and unknown cows, a deeper architecture was more beneficial.
翻译:随着奶牛农场的面积继续增加,奶牛的自动健康监测也越来越引人注意。乳牛中普遍存在的健康障碍是乳牛的流行性健康障碍,通常通过分析奶牛的步态而检测出来。牛的步态可以通过视频模型进行跟踪,因为模型学会在图像和视频中自动定位解剖标志。大多数动物的估测模型是静止的,即视频是按框架处理的,不使用任何时间信息。在这项工作中,动物施用量估计的静态深学习模型被扩展为包括过去框架信息的时际模型。我们比较了静态和时际估测模型的性能。我们对比了静态和时间模型的性能。从视频(30英尺)中提取了1059个连续4个框架的样本,从30个不同的奶牛通过户外通道走动。由于农业环境容易被封住,我们测试了静态和时间模型的稳健性模型,在视频中增加了人工测分辨值。实验显示,在非隐含时间性数据中,静态和时间方法都取得了精确度模型的百分比值(PCK@0.2),从87-9号牛的测测算数据显示我们掌握了98度数据。在时间框架中的数据显示,从一个模型中显示,直比值数据是精确度测算数据显示了一种测算数据,因此显示了。