Deep learning-based temperature detection for group-raised pigs via thermal images

Body temperature detection of pigs is vital for efficient pig breeding. In this study, a novel approach for individual pig temperature detection in a group-raised environment is proposed. The methodology includes three approaches: (1) a Porcine-ESRGAN algorithm based on generative adversarial networks (GANs) was developed to reconstruct super-resolution of thermal infrared images, effectively addressing low-resolution limitations, (2) a novel temperature extraction method incorporating instantaneous recognition of postures was established to overcome challenges in measuring pigs in the lying position, and (3) an enhanced YOLOv7 architecture (termed ITG-YOLOv7) was implemented to improve the accuracy of thermal region detection. A performance evaluation demonstrated the following significant improvements achieved by the proposed methodology: Porcine-ESRGAN increased precision ( P ), recall ( R ), and mean average precision ( mAP ) for lying-position pigs by 3.1%, 11.5%, and 6.9%, respectively. Furthermore, the posture-based method attained a higher efficiency of 29.69% in the extraction of key-region temperature. ITG-YOLOv7 attained 93.2% P , 95.4% R , and 97.5% mAP when integrated with Porcine-ESRGAN. The mean absolute error ( MAE ) of the measured temperature was 0.09°C for upright pigs and 0.23°C for lying pigs. The results validate the framework’s efficacy for automated, highly precise monitoring of group-housed pigs’ body temperatures.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-07-16
DOI
https://doi.org/10.1016/j.atech.2025.101206
Citations
1
Primary Topic
Advanced Image Processing Techniques
Type
article
Field-Weighted Citation Impact
1.28

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deep learning-based temperature detection for group-raised pigs via thermal images

Qian Li, Gang Liu, Xiaowen Liu, Xueting Zeng et al.
1 citations
Smart Agricultural Technology
Advanced Image Processing Techniques
1.28
article

Deep learning-based temperature detection for group-raised pigs via thermal images

Qian Li, Gang Liu, Xiaowen Liu, Xueting Zeng, M. X. Chu
article en
1 citations

Abstract

Body temperature detection of pigs is vital for efficient pig breeding. In this study, a novel approach for individual pig temperature detection in a group-raised environment is proposed. The methodology includes three approaches: (1) a Porcine-ESRGAN algorithm based on generative adversarial networks (GANs) was developed to reconstruct super-resolution of thermal infrared images, effectively addressing low-resolution limitations, (2) a novel temperature extraction method incorporating instantaneous recognition of postures was established to overcome challenges in measuring pigs in the lying position, and (3) an enhanced YOLOv7 architecture (termed ITG-YOLOv7) was implemented to improve the accuracy of thermal region detection. A performance evaluation demonstrated the following significant improvements achieved by the proposed methodology: Porcine-ESRGAN increased precision ( P ), recall ( R ), and mean average precision ( mAP ) for lying-position pigs by 3.1%, 11.5%, and 6.9%, respectively. Furthermore, the posture-based method attained a higher efficiency of 29.69% in the extraction of key-region temperature. ITG-YOLOv7 attained 93.2% P , 95.4% R , and 97.5% mAP when integrated with Porcine-ESRGAN. The mean absolute error ( MAE ) of the measured temperature was 0.09°C for upright pigs and 0.23°C for lying pigs. The results validate the framework’s efficacy for automated, highly precise monitoring of group-housed pigs’ body temperatures.

Smart Agricultural TechnologyVol. 12
Ministry of Agriculture and Rural Affairs (CN), China Agricultural University (CN)
Ministry of Agriculture and Rural Affairs of the People's Republic of China
Openalex Percentile: Top 18%
Advanced Image Processing Techniques
1.28
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Deep learning-based temperature detection for group-raised pigs via thermal images — Qian Li, Gang Liu, et al. · Smart Agricultural Technology (2025) | TGRS Research Map | TGRS