基于改进YOLO v7的生猪群体体温热红外自动检测方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

科技创新2030-重大项目(2021ZD0113801)和财政部和农业农村部:国家现代农业产业技术体系项目(CARS-35)


Automatic Detection Method of Body Temperature in Herd of Pigs Based on Improved YOLO v7
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对当前生猪规模化养殖过程中基于热红外技术的生猪体温测量效率低的问题,提出了一种基于改进YOLO v7的生猪群体体温检测方法。改进YOLO v7算法在Head层引入VoV-GSCSP结构,降低网络结构复杂度;使用内容感知特征重组(Content-aware reassembly of features,CARAFE)替换模型原始上采样算子,提高特征图放大后的品质,强化生猪头部区域有效特征;引入感受野增强模块(Receptive field enhancement module,RFE),增强特征金字塔对生猪头部特征的提取能力。本文改进YOLO v7算法对于生猪头部的检测精确率为87.9%,召回率为92.5%,平均精度均值(Mean average precision,mAP)为94.7%。与原始YOLO v7相比,精确率提高3.6个百分点,召回率提高7.0个百分点,mAP提高3.6个百分点。该方法首先自动检测生猪头部区域,再利用头部最大温度与耳根温度的高相关性,最终自动获取生猪体温。温度提取平均绝对误差仅为0.16℃,检测速度为222f/s,实现了生猪群体体温的实时精准检测。综合上述试验结果表明,该方法能够自动定位生猪群体的头部区域,满足生猪群体体温测定的高效和高精度要求,为群养生猪体温自动检测提供了有效的技术支撑。

    Abstract:

    The efficiency of pig body temperature measurement based on thermal infrared technology is low in the process of large-scale pig breeding. Temperature detection method in herd of pigs based on improved YOLO v7 was proposed, and an automatic pig head detection model was constructed. The VoV-GSCSP structure was introduced at the Head layer to reduce the complexity of the network structure. The content-aware reassembly of features (CARAFE) was used to replace the original up-sampling operator of the model to improve the quality of the feature map after zooming in, and strengthen the effective features in the head region of the pig;the receptive field enhancement module (RFE) was introduced to enhance the extraction capability of the feature pyramid on the head region of the pig. RFE was applied to enhance the extraction capability of the feature pyramid for the head region of pigs. The improved YOLO v7 algorithm had a detection accuracy of 87.9%, recall rate of 92.5%, and mean average precision (mAP) of 94.7% for the pig head. Compared with the original YOLO v7, the accuracy was increased by 3.6 percentage points, the recall was increased by 7.0 percentage points, and the mAP was increased by 3.6 percentage points. The average absolute error of temperature extraction of this method was only 0.16℃, and the detection speed was 222 frames/s, which realized the real-time accurate detection of body temperature of group pigs. Comprehensive results of the above experiments showed that the method can automatically localize the head region of pigs, meet the requirements of high efficiency and high precision for the determination of body temperature of pigs, and provide effective technical support for the automatic detection of body temperature in herd of pigs.

    参考文献
    相似文献
    引证文献
引用本文

刘晓文,曾雪婷,李涛,刘刚,丁向东,米阳.基于改进YOLO v7的生猪群体体温热红外自动检测方法[J].农业机械学报,2023,54(s1):267-274. LIU Xiaowen, ZENG Xueting, LI Tao, LIU Gang, DING Xiangdong, MI Yang. Automatic Detection Method of Body Temperature in Herd of Pigs Based on Improved YOLO v7[J]. Transactions of the Chinese Society for Agricultural Machinery,2023,54(s1):267-274.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-06-16
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2023-12-10
  • 出版日期: