{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,5]],"date-time":"2026-06-05T05:04:00Z","timestamp":1780635840036,"version":"3.54.1"},"reference-count":28,"publisher":"MDPI AG","issue":"11","license":[{"start":{"date-parts":[[2026,5,31]],"date-time":"2026-05-31T00:00:00Z","timestamp":1780185600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Fundamental and Interdisciplinary Disciplines Breakthrough Plan of the Ministry of Education of China","award":["JYB2025XDXM704"],"award-info":[{"award-number":["JYB2025XDXM704"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Animals"],"abstract":"<jats:p>Traditional rectal temperature measurement in pigs induces stress in animals, imposes a heavy labor burden on staff, and increases the risk of cross-infection. This study proposes a non-invasive deep learning approach to predict porcine rectal temperature by combining infrared thermal images of thermal windows with environmental parameters. A multimodal dataset is constructed by synchronously collecting thermal images, environmental parameters, and actual rectal temperatures. Mask Region-based Convolutional Neural Network (Mask R-CNN), You Only Look Once version 8 small (YOLOv8s), and YOLOv11s are employed to automatically detect or segment thermal window regions, from which the maximum temperature of each region is extracted. To enhance model generalization under varying environmental conditions, a two-stage hybrid regression framework is established. In this framework, a Convolutional Neural Network (CNN) extracts spatial features from thermal images, a fully connected network (FCNN) encodes regional surface temperatures and environmental parameters, and a Transformer module captures cross-modal dependencies to generate a preliminary prediction. Subsequently, a Random Forest (RF) regressor is applied for residual correction and final output optimization. Comparative experiments on single-region, dual-region, and triple-region combinations demonstrate that the \u201ceye + vulva\u201d dual-region scheme yields the optimal performance, with a mean absolute error (MAE) of 0.1796 \u00b0C and a coefficient of determination (R2) of 0.8212. The prediction error of this scheme is reduced by 42.3% compared with the best-performing unimodal model. The proposed method provides a fast, accurate, and stress-free solution for porcine body temperature monitoring, thereby supporting the development of intelligent health management in livestock farming.<\/jats:p>","DOI":"10.3390\/ani16111692","type":"journal-article","created":{"date-parts":[[2026,6,1]],"date-time":"2026-06-01T08:09:16Z","timestamp":1780301356000},"page":"1692","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["A Two-Stage Deep Learning Method for Non-Invasive Sow Body Temperature Prediction Fusing Thermal Imaging and Environmental Parameters"],"prefix":"10.3390","volume":"16","author":[{"given":"Shengyong","family":"Xu","sequence":"first","affiliation":[{"name":"College of Engineering, Huazhong Agricultural University, Wuhan 430070, China"},{"name":"Ministry of Agriculture Key Laboratory of Agricultural Machinery for the Middle and Lower Reaches of the Yangtze River, Wuhan 430070, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ziyi","family":"Qin","sequence":"additional","affiliation":[{"name":"College of Engineering, Huazhong Agricultural University, Wuhan 430070, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Qiao","family":"Huang","sequence":"additional","affiliation":[{"name":"College of Engineering, Huazhong Agricultural University, Wuhan 430070, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chen","family":"Tan","sequence":"additional","affiliation":[{"name":"The College of Animal Science & Technology and College of Veterinary Medicine, Huazhong Agricultural University, Wuhan 430070, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6925-3346","authenticated-orcid":false,"given":"Xuewen","family":"Xu","sequence":"additional","affiliation":[{"name":"The College of Animal Science & Technology and College of Veterinary Medicine, Huazhong Agricultural University, Wuhan 430070, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xuan","family":"Li","sequence":"additional","affiliation":[{"name":"College of Engineering, Huazhong Agricultural University, Wuhan 430070, China"},{"name":"Ministry of Agriculture Key Laboratory of Agricultural Machinery for the Middle and Lower Reaches of the Yangtze River, Wuhan 430070, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,5,31]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Guevara, R.D., Pastor, J.J., Manteca, X., Tedo, G., and Llonch, P. (2022). Systematic review of animal-based indicators to measure thermal, social, and immune-related stress in pigs. PLoS ONE, 17.","DOI":"10.1371\/journal.pone.0266524"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Racewicz, P., Ludwiczak, A., Skrzypczak, E., Sk\u0142adanowska-Baryza, J., Biesiada, H., Nowak, T., Nowaczewski, S., Zaborowicz, M., Stanisz, M., and \u015al\u00f3sarz, P. (2021). Welfare health and productivity in commercial pig herds. Animals, 11.","DOI":"10.3390\/ani11041176"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"2041","DOI":"10.17485\/IJST\/v15i40.357","article-title":"Assessment of rectal temperature using infrared thermal camera in pigs","volume":"15","author":"Kadirvel","year":"2022","journal-title":"Indian J. Sci. Technol."},{"key":"ref_4","first-page":"183","article-title":"Alternative options for measuring the body temperature of pigs in order to relieve stress and reduce environmental impact","volume":"56","author":"Baccouri","year":"2023","journal-title":"Sci. Pap. Anim. Sci. Biotechnol."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Verduzco-Mendoza, A., Olmos-Hern\u00e1ndez, A., Bueno-Nava, A., Villanueva-Garc\u00eda, D., Dom\u00ednguez-Oliva, A., Avila-Luna, A., Mora-Medina, P., G\u00e1lvez-Rosas, A., Hern\u00e1ndez-\u00c1valos, I., and Casas-Alvarado, A. (2025). Thermal imaging in biomedical research: A non-invasive technology for animal models. Front. Vet. Sci., 12.","DOI":"10.3389\/fvets.2025.1544112"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"27","DOI":"10.46604\/peti.2022.8870","article-title":"Development of non-contact real-time monitoring system for animal body temperature","volume":"21","author":"Tseng","year":"2022","journal-title":"Proc. Eng. Technol. Innov."},{"key":"ref_7","first-page":"237","article-title":"Thermal infrared image detection method of dairy goat breast region based on improved YOLO v5s model","volume":"55","author":"Wen","year":"2024","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"5","DOI":"10.1186\/s13028-015-0094-2","article-title":"Infrared skin temperature measurements for monitoring health in pigs: A review","volume":"57","author":"Soerensen","year":"2015","journal-title":"Acta Vet. Scand."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"G\u00f3mez-Prado, J., Pereira, A.M.F., Wang, D., Villanueva-Garc\u00eda, D., Dom\u00ednguez-Oliva, A., Mora-Medina, P., Hern\u00e1ndez-Avalos, I., Mart\u00ednez-Burnes, J., Casas-Alvarado, A., and Olmos-Hern\u00e1ndez, A. (2022). Thermoregulation Mechanisms and Perspectives for Validating Thermal Windows in Pigs with Hypothermia and Hyperthermia: An Overview. Front. Vet. Sci., 9.","DOI":"10.3389\/fvets.2022.1023294"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Jia, G., Li, W., Meng, J., Tan, H., and Feng, Y. (2020). Non-Contact Evaluation of Pigs\u2019 Body Temperature Incorporating Environmental Factors. Sensors, 20.","DOI":"10.3390\/s20154282"},{"key":"ref_11","first-page":"267","article-title":"Automatic detection method of body temperature in herd of pigs based on improved YOLO v7","volume":"54","author":"Liu","year":"2023","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"31","DOI":"10.5187\/jast.2024.e4","article-title":"Thermal imaging and computer vision technologies for the enhancement of pig husbandry: A review","volume":"66","author":"Reza","year":"2024","journal-title":"J. Anim. Sci. Technol."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Schmid, S.M., B\u00fcscher, W., and Steinhoff-Wagner, J. (2021). Suitability of different thermometers for measuring body core and skin temperatures in suckling piglets. Animals, 11.","DOI":"10.3390\/ani11041004"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"234","DOI":"10.1093\/jas\/skz258.477","article-title":"PSII-9 body core and skin temperatures in suckling piglets measured by infrared thermography and thermometry methods","volume":"97","author":"Schmid","year":"2019","journal-title":"J. Anim. Sci."},{"key":"ref_15","first-page":"222","article-title":"Body temperature detection method of Ross broiler based on infrared thermography","volume":"50","author":"Shen","year":"2019","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Li, D., Yan, G., Li, F., Lin, H., Jiao, H., Han, H., and Liu, W. (2024). Optimized machine learning models for predicting core body temperature in dairy cows: Enhancing accuracy and interpretability for practical livestock management. Animals, 14.","DOI":"10.3390\/ani14182724"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"193","DOI":"10.13031\/ja.14998","article-title":"Modeling neonatal piglet rectal temperature with thermography and machine learning","volume":"66","author":"Xiong","year":"2023","journal-title":"J. ASABE"},{"key":"ref_18","first-page":"36","article-title":"Research on the measurement of sow body temperature based on infrared thermography and linear regression fitting","volume":"4","author":"Tian","year":"2023","journal-title":"J. Intell. Agric. Mech."},{"key":"ref_19","first-page":"2329","article-title":"Construction of risk early warning model for intraoperative hypothermia in patients undergoing laparoscopic hysteromyomectomy based on Nomogram model","volume":"14","author":"Liang","year":"2025","journal-title":"Prog. Mod. Biomed."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"286","DOI":"10.1016\/j.compag.2018.06.028","article-title":"Machine learning algorithms to predict core, skin, and hair-coat temperatures of piglets","volume":"151","author":"Gorczyca","year":"2018","journal-title":"Comput. Electron. Agric."},{"key":"ref_21","first-page":"312","article-title":"Non-contact core body temperature detection method for caged laying hens","volume":"55","author":"Yan","year":"2024","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"107752","DOI":"10.1016\/j.compag.2023.107752","article-title":"Predicting physiological responses of dairy cows using comprehensive variables","volume":"207","author":"Shu","year":"2023","journal-title":"Comput. Electron. Agric."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"207","DOI":"10.1080\/09712119.2020.1761818","article-title":"Artificial neural networks and multiple linear regression as potential methods for modelling body surface temperature of pig","volume":"48","author":"Basak","year":"2020","journal-title":"J. Appl. Anim. Res."},{"key":"ref_24","first-page":"243","article-title":"Automatic detection of dairy cow\u2019s eye temperature based on thermal infrared imaging technology and skeleton tree model","volume":"52","author":"He","year":"2021","journal-title":"Trans. Chin. Soc. Agric. Mach."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Wang, Z., Wang, S., Wang, C., Zhang, Y., Zong, Z., Wang, H., Su, L., and Du, Y. (2023). A non-contact cow estrus monitoring method based on the thermal infrared images of cows. Agriculture, 13.","DOI":"10.3390\/agriculture13020385"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"36030","DOI":"10.1109\/JIOT.2024.3417285","article-title":"Augmented Intelligence of Things for Emergency Vehicle Secure Trajectory Prediction and Task Offloading","volume":"11","author":"Wu","year":"2024","journal-title":"IEEE Internet Things J."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"11142","DOI":"10.1002\/int.23036","article-title":"A Differential Privacy-Preserving Deep Learning Caching Framework for Heterogeneous Communication Network Systems","volume":"37","author":"Wang","year":"2022","journal-title":"Int. J. Intell. Syst."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"73","DOI":"10.1214\/aoms\/1177703732","article-title":"Robust estimation of a location parameter","volume":"35","author":"Huber","year":"1964","journal-title":"Ann. Math. Stat."}],"container-title":["Animals"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2076-2615\/16\/11\/1692\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,5]],"date-time":"2026-06-05T04:32:14Z","timestamp":1780633934000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2076-2615\/16\/11\/1692"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,31]]},"references-count":28,"journal-issue":{"issue":"11","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["ani16111692"],"URL":"https:\/\/doi.org\/10.3390\/ani16111692","relation":{},"ISSN":["2076-2615"],"issn-type":[{"value":"2076-2615","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,31]]}}}