EDC-YOLO-World-DB: A Model for Dairy Cow ROI Detection and Temperature Extraction Under Complex Conditions
Hang Song1, Zhongwei Kang1,2, Hang Xue1
1College of Engineering, Heilongjiang Bayi Agricultural University, Daqing 163319, China.
Abstract:
Body temperature serves as a crucial indicator of dairy cow health. Traditional rectal temperature (RT) measurement often induces stress responses in animals. Body temperature detection based on infrared thermography (IRT) offers non-invasive and timely advantages, contributing to welfare-oriented farming practices. However, automated detection and temperature extraction from critical cow regions are susceptible to complex illumination, black-and-white fur texture interference, and region of interest (ROI) deformation, resulting in low detection accuracy and poor robustness. To address this, this paper proposes the EDC-YOLO-World-DB framework to enhance detection and temperature extraction performance under complex illumination conditions. First, URetinex-Net and CLAHE methods are employed to enhance low light and overexposed images, respectively, improving structural information and boundary contour clarity. Subsequently, spatial relationship constraints between LU and AA are established using five-class text priors-lower udder (LU), around the anus (AA), rear udder, hind legs, and hind quarters-to strengthen the spatial localisation capability of the model for ROIs. Subsequently, a Dual Bidirectional Feature Pyramid Network architecture incorporating EfficientDynamicConv was introduced at the neck of the model to achieve dynamic weight allocation across modalities, levels, and scales. Task Alignment Metric, Gaussian soft-constrained centroid sampling, and combined IoU (CIoU + GIoU) loss were introduced to enhance sample matching quality and regression stability. Results demonstrate detection confidence improvements by 0.08 and 0.02 in low light and overexposed conditions, respectively; compared to two-text input, five-text input increases P, R, and mAP50 by 3.61%, 3.81%, and 1.67%, respectively; Comprehensive improvements yielded P = 88.65%, R = 85.77%, and mAP50 = 89.33%-further surpassing the baseline by 2.79%, 3.01%, and 1.92%, respectively. Temperature extraction experiments demonstrated significantly reduced errors for TMax, TMin, and Tavg. Specifically, for the mean error of LU, TMax, TMin, and Tavg were reduced by 66.6%, 33.5%, and 4.27%, respectively; for AA, TMax, TMin, and Tavg were reduced by 66.6%, 25.4%, and 11.3%, respectively. This study achieves robust detection of LU and AA alongside precise temperature extraction under complex lighting and deformation conditions, providing a viable solution for non-contact, low-interference dairy cow health monitoring.
Related Concept Videos
Temperature Measurement Sites
Oral: When assessing oral temperature, the thermometer tip should be placed under the tongue in the posterior sublingual pocket. It offers accurate readings and can be...
Equipments Used to Measure Body Temperature
Glass-bulb Thermometer:
Glass-bulb thermometers are hollow glass tubes with a bulb tip containing liquid such as ethanol or mercury. Historically, glass bulb mercury thermometers were the standard device to measure body temperature. Today, mercury thermometers are prohibited in many countries due to the hazardous effects of mercury and the risk of exposure if the glass bulb breaks. In general,...
One-Compartment Open Model: Wagner-Nelson and Loo Riegelman Method for ka Estimation
On...
Assessing Body Temperature - Rectal
Follow these steps for rectal temperature assessment:
Step 1: Perform hand hygiene and don clean gloves to prevent cross-infection.
Step 2: Position the patient in a side-lying position to better visualize the rectal...
Assessing Body Temperature - Temporal Artery
Step 1: Perform hand hygiene and don a fresh pair of gloves to prevent cross-infection and ensure patient safety.
Step 2: Explain the procedure to the patient to establish trust. Clear communication establishes trust with the patient, ensures they understand what to expect, promotes cooperation, and enhances comfort during the procedure.
Step 3: Assess the patient's...
Assessing Body Temperature - Oral
Step 1:
Start by practicing proper hand hygiene to prevent the spread of microorganisms.
Step 2:
Take the thermometer out of the charging unit, switch it on, and wait for the ready sign.
Step 3:
Gently slide the probe cover until a click is heard. This simple action prevents cross-contamination and ensures the correct placement of the probe cover.
Step 4:
Instruct the patient to open their mouth and place...


