The research presented in this thesis focuses on an innovative use of digital imaging, and the machine learning techniques to assess the body rumen fill scoring in dairy cows. This study aims to enhance the efficiency of monitoring and managing dairy cow health, which is crucial for the dairy industry's productivity and sustainability.
The primary objective was to develop an automated annotation system fore valuating rumen fill status in dairy cows using digital images extracted from recorded videos. This system leverages advanced machine learning algorithms and neural networks, aiming to mimic manual assessments by veterinarians and specialists on farms. To achieve the above objectives, this thesis made use of already existing video records from a Swedish dairy farm hosting mainly the Swedish Redand the Swedish Holstein breeds. A subset of these images were then processed, manually classified using a modified rumen fill scoring system based on visual assessment, and supervised classification algorithms were trained on 277 manually annotated images.
The thesis explored various machine learning techniques for classifying these images, including Logistic Regression, Support Vector Machine (SVM), and a Deep Neural Network using the VGG16 architecture. These models were trained, validated, and tested with a dataset that included variations in cow color patterns, aiming to determine the most effective approach for automated rumen fill scoring.The results indicated that while each model had its strengths and weaknesses, the simple logistic model was performing the best in terms of test accuracy and F1 score.
This research contributes to the field of precision livestock farming, particularly in the context of dairy farming. By automating the process of rumen fill scoring, the study aims to provide dairy farmers with a reliable, efficient, and cost-effective tool for monitoring cow health. This tool has the potential to enhance dairy cow welfare, improve milk production, and support the sustainability of dairy farming operations. However, at the current state, the model accuracy of the best model was only moderate. There is a need for further improvement of the prediction performance possibly by adding more cow images, using improved image processing, and feature engineering.