Automated Dairy Cow Temperature Monitoring System Based on Cow Face Recognition and Thermal Imaging
Journal
2024 ASABE Annual International Meeting
Part Of
2024 ASABE Annual International Meeting
ISBN (of the container)
9798331302214
Date Issued
2024
Author(s)
Abstract
The integration of a fully automated individual cattle temperature monitoring system is set to bring significant transformations to the operation and management of dairy farming. Early studies indicate that common dairy cow diseases, such as heat stress and milk fever, are preceded by distinct body temperature changes. However, the ineffectiveness of traditional methods makes frequent temperature recording on large commercial farms impractical. Our automated system integrates image processing algorithms, deep learning models, and thermal imaging to continuously record individual dairy cow temperatures, detect abnormalities, and alert farmers for early intervention. We have implemented the YOLOv4 Tiny model for cow face detection for images captured by the thermal imaging camera to facilitate real-time temperature collection, achieving 99% on mAP@0.5 and a processing speed of 25 frames per second (FPS). For dairy cow identity recognition, we utilized a deep learning CNN model with additive angular margin loss (ArcFace) as the loss function. This model, tested on a dataset of 131 cows, achieved a 99% accuracy rate. By integrating cow face recognition and temperature monitoring, we can successfully gather long-term temperature data for each individual cow. For the processing of long-term data, we can compile each cow's average temperature, analyze the relationship between dairy cow body temperature and environmental temperature, and identify any abnormal temperature value. This research demonstrates considerable potential in practical applications of the developed dairy cow temperature monitoring system, highlighting its capability to significantly reduce labor requirements and enhance overall farm management efficiency.
Event(s)
2024 American Society of Agricultural and Biological Engineers Annual International Meeting (ASABE 2024), Anaheim, 28 July 2024 through 31 July 2024
Subjects
ArcFace
Cow Face Recognition
Deep Learning
Infrared Temperature Measurement
YOLO
Publisher
American Society of Agricultural and Biological Engineers
Type
conference paper
