Classification of cattle behaviour using convolutional neural networks

Pavlovic, Dejan and Tachtatzis, Christos and Hamilton, Andrew and Marko, Oskar and Atkinson, Robert and Davison, Christopher and Michie, Craig and Crnojevic, Vladimir and Andonovic, Ivan (2020) Classification of cattle behaviour using convolutional neural networks. In: European Federation of Animal Science (EAAP) Annual Meeting, 2020-12-01 - 2020-12-04, Online (due to Covid-19 pandemic).

[thumbnail of Pavlovic-etal-EAAP2020-Classification-of-cattle-behaviour-using-convolutional-neural-networks]
Preview
Text. Filename: Pavlovic_etal_EAAP2020_Classification_of_cattle_behaviour_using_convolutional_neural_networks.pdf
Accepted Author Manuscript

Download (110kB)| Preview

Abstract

The monitoring of cattle behaviour through sensor systems is gaining importance in the improvement of animal health, fertility and management of large herds. Commercial farms commonly implement accelerometer-based systems to monitor the time an animal spends ruminating, eating and overall activity which informs farmers on the health and fertility status of individual cattle. Ill or injured cattle feed and ruminate less, so tracking the duration and frequency of these states provide key indicators of animal health. Activity is used as a metric for the detection of oestrus (heat) which promotes more efficient fertilisation of dairy and beef cattle, reducing operating costs and increasing profits for farmers. The aim of the study was to determine the feasibility of enhancing the accuracy of estimating multiple classifications derived from acceleration-based activity collars can through Convolutional Neural Networks (CNN). CNN models are typically used to classify objects within images, but have been demonstrated to be effective at classifying time-series data across different domains. To evaluate their effectiveness for cattle behaviours classifications, acceleration data was collected from 18 cows across 3 farms using neck-mounted collars which provided 3-axis acceleration values at 10Hz sampling frequency. Each cow was equipped with pressure sensor halters which provided ground truth data of the animal behavioural state, also at 10Hz sampling frequency. The ground truth from the halter allowed the CNN model to be trained to predict a number of key cattle behaviours. The model was then tested on separate data to assess performance. The CNN was able to classify the 3 activity states (rumination, eating and other) with an overall F1 score of 82% compared to reported collar classifications with an overall F1 score of 72%.