arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.16639cs.CV
收藏

在多样和挑战性条件下对猪的检测和跟踪进行基准测试

Benchmarking pig detection and tracking under diverse and challenging conditions

Chair of Statistics and Econometrics, Faculty of Economics, University of Göttingen, Germany(经济学院统计与计量经济学系,乌特雷赫大学);Campus Institute Data Science(校园数据科学研究所);Institute of Animal Breeding and Husbandry, Kiel University, Germany(动物育种与饲养研究所,基尔大学);Institute of Animal Breeding(动物育种研究所);work performed during employment at University of Göttingen, Germany(在乌特雷赫大学任职期间的工作);work performed during employment at Kiel University, Germany(在基尔大学任职期间的工作)

Jonathan Henrich, Christian Post, Maximilian Zilke, Parth Shiroya, Emma Chanut, Amir Mollazadeh Yamchi, Ramin Yahyapour, Thomas Kneib, Imke Traulsen

AI总结:

本文通过构建PigDetect和PigTrack两个数据集,在多样和挑战性条件下评估猪的检测和跟踪方法,发现先进模型在检测质量上优于实时方法,同时端到端模型在关联性能上表现更优。

摘要:

为确保猪场中动物福利和有效管理,监测个体行为是至关重要的前提。尽管传统上监测任务是人工完成的,但机器学习的进步使能够以越来越自动化的方式收集个体化信息成为可能。这些方法的核心是动物在空间上的定位(目标检测)和时间上的多目标跟踪。尽管在猪养殖中对这两个任务进行了大量研究,但尚未进行系统性的基准测试研究。在本工作中,我们通过整理两个数据集来填补这一空白:PigDetect用于目标检测和PigTrack用于多目标跟踪。这些数据集基于来自现实猪舍条件的多样化图像和视频材料,并包含诸如遮挡或不良可见性等具有挑战性的场景。在目标检测方面,我们表明具有挑战性的训练图像能够提高检测性能,这超过了仅使用随机采样图像所能达到的水平。比较不同的方法,我们发现最先进的模型在检测质量上显著优于实时替代方案。在多目标跟踪方面,我们发现基于SORT的方法在检测性能上优于端到端可训练模型。然而,端到端模型在关联性能上表现更好,这表明它们可能成为未来的重要替代方案。我们还研究了端到端模型的特征失败案例,为未来改进提供了指导。在未见过的猪舍中训练的检测和跟踪模型表现良好,这表明具有良好的泛化能力。这突显了高质量训练数据的重要性。数据集和研究代码已公开发布,以促进可重复性、再利用和进一步发展。

英文摘要:

To ensure animal welfare and effective management in pig farming, monitoring individual behavior is a crucial prerequisite. While monitoring tasks have traditionally been carried out manually, advances in machine learning have made it possible to collect individualized information in an increasingly automated way. Central to these methods is the localization of animals across space (object detection) and time (multi-object tracking). Despite extensive research of these two tasks in pig farming, a systematic benchmarking study has not yet been conducted. In this work, we address this gap by curating two datasets: PigDetect for object detection and PigTrack for multi-object tracking. The datasets are based on diverse image and video material from realistic barn conditions, and include challenging scenarios such as occlusions or bad visibility. For object detection, we show that challenging training images improve detection performance beyond what is achievable with randomly sampled images alone. Comparing different approaches, we found that state-of-the-art models offer substantial improvements in detection quality over real-time alternatives. For multi-object tracking, we observed that SORT-based methods achieve superior detection performance compared to end-to-end trainable models. However, end-to-end models show better association performance, suggesting they could become strong alternatives in the future. We also investigate characteristic failure cases of end-to-end models, providing guidance for future improvements. The detection and tracking models trained on our datasets perform well in unseen pens, suggesting good generalization capabilities. This highlights the importance of high-quality training data. The datasets and research code are made publicly available to facilitate reproducibility, re-use and further development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑