Tracking the behaviour of livestock enables early detection and thus prevention of contagious diseases in modern animal farms. Apart from economic gains, this would reduce the amount of antibiotics used in livestock farming which otherwise enters the human diet exasperating the epidemic of antibiotic resistance - a leading cause of death. We could use standard video cameras, available in most modern farms, to monitor livestock. However, most computer vision algorithms perform poorly on this task, primarily because, (i) animals bred in farms look identical, lacking any obvious spatial signature, (ii) none of the existing trackers are robust for long duration, and (iii) real-world conditions such as changing illumination, frequent occlusion, varying camera angles, and sizes of the animals make it hard for models to generalize. Given these challenges, we develop an end-to-end behaviour monitoring system for group-housed pigs to perform simultaneous instance level segmentation, tracking, action recognition and re-identification (STAR) tasks. We present starformer, the first end-to-end multiple-object livestock monitoring framework that learns instance-level embeddings for grouped pigs through the use of transformer architecture. For benchmarking, we present Pigtrace, a carefully curated dataset comprising video sequences with instance level bounding box, segmentation, tracking and activity classification of pigs in real indoor farming environment. Using simultaneous optimization on STAR tasks we show that starformer outperforms popular baseline models trained for individual tasks.
翻译:跟踪牲畜的行为可以及早发现,从而预防现代畜牧农场的传染性疾病。除了经济收益外,这将减少牲畜饲养中使用的抗生素数量,否则这些抗生素就会进入人类饮食中,引起抗生素抗药性的流行,这是造成死亡的主要原因。我们可以使用大多数现代农场可用的标准摄像机来监测牲畜。然而,大多数计算机愿景算法在这项任务上表现不佳,主要原因是:(一) 农场内饲养的动物看起来相似,缺乏明显的空间特征;(二) 现有跟踪器没有一个长期强健,以及(三) 现实世界条件,如改变照明、频繁的隐蔽、不同的摄像头和动物大小,使得模型难以加以概括。鉴于这些挑战,我们为集体猪开发了一个端对端行为监测系统,以同时进行试级分解、跟踪、行动识别和再识别(STAR)任务。我们介绍星系,第一个端对端到端的多位牲畜监测框架,我们通过使用变形机结构结构,我们用经过培训的图像序列,在变形结构结构结构中进行认真嵌入的分组猪头级分类。