In this study, we aimed to classify 7 cow behavior patterns automatically with an inertial measurement unit (IMU) using a fully convolutional network (FCN) algorithm. Behavioral data of 12 cows… Click to show full abstract
In this study, we aimed to classify 7 cow behavior patterns automatically with an inertial measurement unit (IMU) using a fully convolutional network (FCN) algorithm. Behavioral data of 12 cows were collected by attaching an IMU in a waterproof box on the neck behind the head of each cow. Seven behavior patterns were considered: rub scratching (leg), ruminating-lying, lying, feeding, self-licking, rub scratching (neck), and social licking. To simplify the data and compare classification performance with or without magnetometer data, the 9-axis IMU data were reduced using the square root of the sum of squares to develop 2 datasets. Comparing the classification accuracy of the 3 models using a window size of 64 with 6-axis data and a window size of 128 with both 6-axis and 9-axis data, the best overall accuracy (83.75%) was achieved using the FCN model with a window size of 128 (12.8 s) using all IMU data. This model achieved classification accuracies of 83.2, 96.5, 92.8, 98.1, 82.9, 87.2, and 45.2% for ruminating-lying, lying, feeding, rub scratching (leg), self-licking, rub scratching (neck), and social licking, respectively. As a sequence of varied and intensive movement, the classification accuracy of behavior patterns related to skin disease was lower; better classification of these behavior patterns could be achieved with full IMU data and a larger window size. In the future, additional data will take into account different data types, such as audio and video data, to further enhance performance. In addition, an adaptive sliding window size will be used to improve model performance.
               
Click one of the above tabs to view related content.