Huang Xiaoping, Hu Zelin, Wang Xiaorun, Yang Xuanjiang, Zhang Jian, Shi Daoling
Institute of Intelligent Machines, Chinese Academy of Sciences, Hefei 230031, China.
University of Science and Technology of China, Hefei 230026, China.
Animals (Basel). 2019 Jul 23;9(7):470. doi: 10.3390/ani9070470.
Body condition scores (BCS) is an important parameter, which is in high correlation with the health status of a dairy cow, metabolic disorder and milk composition during the production period. To evaluate BCS, the traditional methods rely on veterinary experts or skilled staff to look at a cow and touch it. These methods have low efficiency especially on large-scale farms. Computer vision methods are widely used but there are some improvements to increase BCS accuracy. In this study, a low cost BCS evaluation method based on deep learning and machine vision is proposed. Firstly, the back-view images of the cows are captured by network cameras, resulting in 8972 images that constituted the sample data set. The camera is a common 2D camera, which is cheaper and easier to install compared with 3D cameras. Secondly, the key body parts such as tails, pins and rump in the images were labeled manually, the Sing Shot multi-box Detector (SSD) method was used to detect the tail and evaluate the BCS. Inspired by DenseNet and Inception-v4, a new SSD was introduced by changing the network connection method of the original SSD. Finally, the experiments show that the improved SSD method can achieve 98.46% classification accuracy and 89.63% location accuracy, and it has: (1) faster detection speed with 115 fps; (2) smaller model size with 23.1 MB compared to original SSD and YOLO-v3, these are significant advantages for reducing hardware costs.
体况评分(BCS)是一个重要参数,它与奶牛的健康状况、代谢紊乱以及产奶期的牛奶成分高度相关。为了评估体况评分,传统方法依赖兽医专家或技术熟练的工作人员观察和触摸奶牛。这些方法效率低下,尤其是在大型农场。计算机视觉方法被广泛使用,但仍有一些改进措施来提高体况评分的准确性。在本研究中,提出了一种基于深度学习和机器视觉的低成本体况评分评估方法。首先,通过网络摄像头捕捉奶牛的后视图像,得到8972张构成样本数据集的图像。该摄像头是普通的二维摄像头,与三维摄像头相比,成本更低且安装更简便。其次,人工标记图像中的关键身体部位,如尾巴、髋骨和臀部,使用单发多框检测器(SSD)方法检测尾巴并评估体况评分。受DenseNet和Inception-v4启发,通过改变原始SSD的网络连接方式引入了一种新的SSD。最后,实验表明改进后的SSD方法能够达到98.46%的分类准确率和89.63%的定位准确率,并且具有:(1)更快的检测速度,为115帧/秒;(2)与原始SSD和YOLO-v3相比,模型尺寸更小,为23.1MB,这些对于降低硬件成本具有显著优势。