Salau Jennifer, Krieter Joachim
Institute of Animal Breeding and Husbandry, Kiel University, Olshausenstraße 40, 24098 Kiel, Germany.
Animals (Basel). 2020 Dec 15;10(12):2402. doi: 10.3390/ani10122402.
With increasing herd sizes came an enhanced requirement for automated systems to support the farmers in the monitoring of the health and welfare status of their livestock. Cattle are a highly sociable species, and the herd structure has important impact on the animal welfare. As the behaviour of the animals and their social interactions can be influenced by the presence of a human observer, a camera based system that automatically detects the animals would be beneficial to analyse dairy cattle herd activity. In the present study, eight surveillance cameras were mounted above the barn area of a group of thirty-six lactating Holstein Friesian dairy cows at the Chamber of Agriculture in Futterkamp in Northern Germany. With Mask R-CNN, a state-of-the-art model of convolutional neural networks was trained to determine pixel level segmentation masks for the cows in the video material. The model was pre-trained on the Microsoft common objects in the context data set, and transfer learning was carried out on annotated image material from the recordings as training data set. In addition, the relationship between the size of the used training data set and the performance on the model after transfer learning was analysed. The trained model achieved averaged precision (Intersection over union, IOU = 0.5) 91% and 85% for the detection of bounding boxes and segmentation masks of the cows, respectively, thereby laying a solid technical basis for an automated analysis of herd activity and the use of resources in loose-housing.
随着牛群规模的不断扩大,对自动化系统的需求也日益增加,以帮助农民监测其牲畜的健康和福利状况。牛是高度群居的物种,牛群结构对动物福利有重要影响。由于动物的行为及其社会互动会受到人类观察者在场的影响,因此基于摄像头的自动检测动物的系统将有助于分析奶牛群的活动。在本研究中,八个监控摄像头安装在德国北部富特坎普农业商会一群36头泌乳期荷斯坦弗里生奶牛的牛舍区域上方。使用Mask R-CNN,一种最先进的卷积神经网络模型,对视频资料中的奶牛进行像素级分割掩码的训练。该模型在微软通用物体上下文数据集中进行了预训练,并对来自记录的带注释图像资料作为训练数据集进行了迁移学习。此外,还分析了所使用的训练数据集的大小与迁移学习后模型性能之间的关系。训练后的模型在检测奶牛的边界框和分割掩码时,平均精度(交并比,IOU = 0.5)分别达到91%和85%,从而为散栏饲养中牛群活动和资源利用的自动化分析奠定了坚实的技术基础。