基于改进YOLOX的群养生猪轻量化目标检测方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金面上项目(32172784)


Lightweight Target Detection Method for Group-raised Pigs Based on Improved YOLOX
Author:
Affiliation:

Fund Project:

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

    针对目前群养生猪智能化养殖中复杂环境下猪只目标检测精度低的问题,提出了一种基于改进YOLOX的群养生猪轻量化目标检测模型Ghost-YOLOX-BiFPN。该模型采用Ghost卷积替换普通卷积,在减少主干网络参数的情况下,提高了模型的特征提取能力。使用加入CBAM注意力机制的BiFPN作为模型的Neck部分,使得模型充分融合不同体型猪只的特征图,并使用Focal Loss损失函数解决猪圈环境下猪只与背景难以区分的问题,增强模型对正样本的学习。实验结果表明,改进后模型对群养生猪检测精度为95.80%,相比于原始YOLOX算法,检测精度提升2.84个百分点,参数量降低63%。最后将本文轻量化模型部署到Nvidia Jetson Nano移动端开发板,通过在开发板上实际运行表明,本文所提模型实现了对不同大小、不同品种猪只的准确识别,为后续智能化生猪养殖提供支持。

    Abstract:

    Aiming at the problem of low pig target detection accuracy in the complex environment in the current intelligent breeding of group-raised pigs, a lightweight target detection model for group-raised pigs based on improved YOLOX, Ghost-YOLOX-BiFPN was proposed. The Ghost convolution was used to replace the traditional convolution, which greatly reduced the number of model parameters. BiFPN was used as the model feature fusion network to effectively fuse the feature maps of pigs of different sizes, and Focal Loss function was added in the post-processing stage, increasing the learning of the model to the positive sample target, and reducing the rate of missed detection. The results showed that the improved model had a detection accuracy of 95.80% for pigs, and the number of model parameters were 2.001×107. Compared with the original YOLOX algorithm, the detection accuracy and recall were increased by 2.84 percentage points and 3.22 percentage points, respectively, and the number of model parameters were reduced by 63%. Finally, the proposed algorithm model was deployed to the Nvidia Jetson Nano mobile terminal development board. The actual operation on the development board showed that the model proposed can guarantee the recognition rate of pigs and realize the accurate recognition of pigs of different sizes and breeds. The research result can provide support for the subsequent establishment of intelligent pig breeding system.

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

邓铭辉,龚俊杰,郑飘逸,马闯,尹艳玲.基于改进YOLOX的群养生猪轻量化目标检测方法[J].农业机械学报,2023,54(11):277-285. DENG Minghui, GONG Junjie, ZHENG Piaoyi, MA Chuang, YIN Yanling. Lightweight Target Detection Method for Group-raised Pigs Based on Improved YOLOX[J]. Transactions of the Chinese Society for Agricultural Machinery,2023,54(11):277-285.

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