Non-Contact Temperature Monitoring in Dairy Cattle via Thermal Infrared Imaging and Environmental Parameters
Core body temperature is a critical physiological indicator for assessing and diagnosing animal health status. In bovines, continuously monitoring this metric enables accurate evaluation of their physiological condition; however, traditional rectal measurements are labor-intensive and cause stress in animals. To achieve intelligent, contactless temperature monitoring in cattle, we proposed a non-invasive method based on thermal imaging combined with environmental data fusion. First, thermal infrared images of the cows’ faces were collected, and the You Only Look Once (YOLO) object detection model was used to locate the head region. Then, the YOLO segmentation network was enhanced with the Online Convolutional Re-parameterization (OREPA) and High-level Screening-feature Fusion Pyramid Network (HS-FPN) modules to perform instance segmentation of the eye socket area. Finally, environmental variables—ambient temperature, humidity, wind speed, and light intensity—were integrated to compensate for eye socket temperature, and a random forest algorithm was used to construct a predictive model of rectal temperature. The experiments were conducted using a thermal infrared image dataset comprising 33,450 frontal-view images of dairy cows with a resolution of 384 × 288 pixels, along with 1471 paired samples combining thermal and environmental data for model development. The proposed method achieved a segmentation accuracy (mean average precision, mAP50–95) of 86.59% for the eye socket region, ensuring reliable temperature extraction. The rectal temperature prediction model demonstrated a strong correlation with the reference rectal temperature (R2 = 0.852), confirming its robustness and predictive reliability for practical applications. These results demonstrate that the proposed method is practical for non-contact temperature monitoring of cattle in large-scale farms, particularly those operating under confined or semi-confined housing conditions.
Authors
- Q. Li
- Yinan Chen
- Kaixuan Zhao
- Mengyun Guo
- Shaojuan Ge
- Yue Nian
- Wenkai Ren
Institutions
- Henan University of Science and Technology (CN)
- Luoyang Institute of Science and Technology (CN)
Publication Details
- Journal
- Agriculture
- Published
- 2026-01-26
- DOI
- https://doi.org/10.3390/agriculture16030306
- Primary Topic
- Effects of Environmental Stressors on Livestock
- Type
- article
- Field-Weighted Citation Impact
- 0.00