Automatic body temperature detection of group-housed piglets based on infrared and visible image fusion

IF 8.2 Q1 AGRICULTURE, MULTIDISCIPLINARY
Kaixuan Cuan , Feiyue Hu , Xiaoshuai Wang , Xiaojie Yan , Yanchao Wang , Kaiying Wang
{"title":"Automatic body temperature detection of group-housed piglets based on infrared and visible image fusion","authors":"Kaixuan Cuan ,&nbsp;Feiyue Hu ,&nbsp;Xiaoshuai Wang ,&nbsp;Xiaojie Yan ,&nbsp;Yanchao Wang ,&nbsp;Kaiying Wang","doi":"10.1016/j.aiia.2025.06.008","DOIUrl":null,"url":null,"abstract":"<div><div>Rapid and accurate measurement of body temperature is essential for early disease detection, as it is a key indicator of piglet health. Infrared thermography (IRT) is a widely used, convenient, non-intrusive, and efficient non-contact temperature measurement technology. However, the activities and clustering of group-housed piglets make it challenging to measure the individual body temperature using IRT. This study proposes a method for detecting body temperature in group-housed piglets using infrared-visible image fusion. The infrared and visible images were automatically captured by cameras mounted on a robot. An improved YOLOv8-PT model was proposed to detect both piglets and their key body regions (ears, abdomen and hip) in visible images. Subsequently, the Oriented FAST and Rotated BRIEF (ORB) image registration method and the U2Fusion image fusion network were employed to extract temperatures from the detected body parts. Finally, a core body temperature (CBT) estimation model was developed, with actual rectal temperature serving as the gold standard. The temperatures of three body parts detected by infrared thermography were used to estimate CBT, and the maximum estimated temperature based on these body parts (EBT-Max) was selected as the final result. In the experiment, the YOLOv8-PT model achieved a [email protected] of 93.6 %, precision of 93.3 %, recall of 88.9 %, and F1 score of 91.05 %. The average detection time per image was 4.3 ms, enabling real-time detection. Additionally, the mean absolute errors (MAE) and correlation coefficient between EBT-Max and actual rectal temperature is 0.40 °C and 0.6939, respectively. Therefore, this method provides a feasible and efficient approach for group-housed piglets body temperature detection and offers a reference for the development of automated pig health monitoring systems.</div></div>","PeriodicalId":52814,"journal":{"name":"Artificial Intelligence in Agriculture","volume":"16 1","pages":"Pages 1-11"},"PeriodicalIF":8.2000,"publicationDate":"2025-07-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Artificial Intelligence in Agriculture","FirstCategoryId":"1087","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2589721725000716","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Rapid and accurate measurement of body temperature is essential for early disease detection, as it is a key indicator of piglet health. Infrared thermography (IRT) is a widely used, convenient, non-intrusive, and efficient non-contact temperature measurement technology. However, the activities and clustering of group-housed piglets make it challenging to measure the individual body temperature using IRT. This study proposes a method for detecting body temperature in group-housed piglets using infrared-visible image fusion. The infrared and visible images were automatically captured by cameras mounted on a robot. An improved YOLOv8-PT model was proposed to detect both piglets and their key body regions (ears, abdomen and hip) in visible images. Subsequently, the Oriented FAST and Rotated BRIEF (ORB) image registration method and the U2Fusion image fusion network were employed to extract temperatures from the detected body parts. Finally, a core body temperature (CBT) estimation model was developed, with actual rectal temperature serving as the gold standard. The temperatures of three body parts detected by infrared thermography were used to estimate CBT, and the maximum estimated temperature based on these body parts (EBT-Max) was selected as the final result. In the experiment, the YOLOv8-PT model achieved a [email protected] of 93.6 %, precision of 93.3 %, recall of 88.9 %, and F1 score of 91.05 %. The average detection time per image was 4.3 ms, enabling real-time detection. Additionally, the mean absolute errors (MAE) and correlation coefficient between EBT-Max and actual rectal temperature is 0.40 °C and 0.6939, respectively. Therefore, this method provides a feasible and efficient approach for group-housed piglets body temperature detection and offers a reference for the development of automated pig health monitoring systems.
基于红外与可见光图像融合的群养仔猪体温自动检测
快速准确地测量体温对于早期发现疾病至关重要,因为它是仔猪健康的关键指标。红外热像仪(IRT)是一种应用广泛、方便、非侵入式、高效的非接触式测温技术。然而,群养仔猪的活动和聚集性使得使用IRT测量个体体温具有挑战性。本研究提出了一种利用红外-可见光图像融合检测群养仔猪体温的方法。红外和可见光图像由安装在机器人上的摄像机自动捕获。提出了一种改进的YOLOv8-PT模型,用于在可见图像中检测仔猪及其关键身体部位(耳朵、腹部和臀部)。随后,采用定向FAST和旋转BRIEF (ORB)图像配准方法和U2Fusion图像融合网络提取被检测身体部位的温度。最后,建立了以直肠实际温度为金标准的核心体温(CBT)估计模型。利用红外热像仪检测到的三个身体部位的温度来估计CBT,并选择基于这些身体部位的最大估计温度(EBT-Max)作为最终结果。在实验中,YOLOv8-PT模型的[email protected]识别率为93.6%,准确率为93.3%,召回率为88.9%,F1分数为91.05%。每张图像的平均检测时间为4.3 ms,实现了实时检测。EBT-Max与实际直肠温度的平均绝对误差(MAE)和相关系数分别为0.40℃和0.6939℃。因此,该方法为群养仔猪体温检测提供了一种可行、高效的方法,为猪健康自动化监测系统的开发提供了参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Artificial Intelligence in Agriculture
Artificial Intelligence in Agriculture Engineering-Engineering (miscellaneous)
CiteScore
21.60
自引率
0.00%
发文量
18
审稿时长
12 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信