Abstract:In silage maize fields, the complex environment often obstructs the driver’s view, making harvesting operations prone to causing casualties and severe economic losses. To address the frequent accidents involving silage harvesters injuring humans and animals, a lightweight thermal infrared image detection model, YOLO-TI, was developed, and a thermal infrared-based living-body detection and early-warning system suitable for silage harvesters was designed. Thermal infrared images of living bodies under different times, locations, and postures were collected and preprocessed to optimize the YOLO v5 model. The backbone network of YOLO v5 was replaced with SqueezeNet for feature extraction, while an infrared spatial attention mechanism (ISAM) incorporated to enhance target features. Additionally, the CIoU loss function was replaced with SIoU to construct the YOLO-TI model. Experimental results showed that YOLO-TI achieved detection precision of 99.6%, recall of 99.1%, F1 score of 99.0%, and real-time detection speed of 48f/s. On the same test dataset, compared with YOLO v5, the proposed model improved precision, recall, F1 score, and detection speed by 4.4, 2.1, 3.3 percentage points, and 11f/s, respectively;compared with YOLO v10, precision and recall were improved by 0.1, 1.4 percentage points, respectively. Field test results indicated that at ambient temperature of 18℃, the system achieved average detection accuracy of 91.5% within operating range of 0~15m. Within the harvester’s minimum safety range of 2.32m, the response time from target appearance to alarm activation was 0.45s, meeting the safety requirements of harvesting operations. The system satisfied the demand for real-time detection of living bodies during operation, ensuring safety and reliability, and provided technical support for accurate and efficient living-body detection in complex agricultural scenarios with silage harvesters.