Click on “Download PDF” for the PDF version or on the title for the HTML version.

If you are not an ASABE member or if your employer has not arranged for access to the full-text, Click here for options.

Application of image based filtering to improve the performance of an automated lameness detection system for dairy cows

Published by the American Society of Agricultural and Biological Engineers, St. Joseph, Michigan

Citation:  Paper number  131620675,  2013 Kansas City, Missouri, July 21 - July 24, 2013. (doi: @2013
Authors:   Carlos Eduardo Bites Romanini, Claudia Bahr, Stefano Viazzi, Tom Van Hertem, Andres Schlageter-Tello, Ilan Halachmi, Kees Lokhorst, Daniel Berckmans
Keywords:   filtering 3D image cow features extraction video quality walking speed computer vision videos pre-processing

Abstract. One of the objectives of Precision Livestock Farming (PLF) is to develop on-line tools for fully automatic and continuous monitoring of farm animals. PLF consists of measuring animal variables, modeling these data to select information and calculate specific parameters, and then apply these in real time for monitoring and controlling purposes. Computer vision is widely applied in PLF, as well as image analysis techniques that have been used to e.g., automatically detect lameness in dairy cows. Therefore, the performance of such computer vision systems relies on the quality of recorded videos. In particular, the aim of this work was to develop filtering procedures to exclude recorded dairy cow videos of low quality in order to optimize the performance of a lameness detection system based on images. An automatic filtering was developed to remove videos with: 1) Low 3D image quality; 2) Stopping cows or cows not walking smoothly. A top view 3D camera capable of retrieving depth information about cow’s body was used to record videos. Regarding the low 3D image quality, filtering was based on certain features extracted from the videos, such as Euler's number, spots ratio, roughness of cow’s body contour line and the number of spots around the spine line of a cow. A reference dataset with a total of 313 video instances was manually built up and labeled as low (223 instances) or high quality (90 instances). Furthermore, cows which stopped or did not walk smoothly during video recordings were filtered out from the videos dataset, based on extracted walking indexes from the images. In this case, an additional dataset of 276 videos with 82% normal walking cows and 18% of stopping cows was used as reference for the filtering validation. A decision tree algorithm J.48 was used for classification. The results led to two simplistic filtering algorithms based on a threshold of 0.4% spots ratio and a dimensionless walking index with value 3. The obtained classification accuracies were about 76% for the low 3D image quality filtering and 91% for cow’s walking speed filtering. These filtering results are considered satisfactory in terms of its application on an automated lameness detection system for dairy cows.

(Download PDF)    (Export to EndNotes)