基于OD_SeGAN的断奶前仔猪实例分割方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划项目(2021YFD2000800)


Instance Segmentation Method of Pre-weaning Piglets Based on OD_SeGAN
Author:
Affiliation:

Fund Project:

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

    在猪只智慧养殖中,猪只实例分割方法是实现猪只自动化检测的关键技术之一,但在实际分割场景中,存在猪只遮挡粘连等现象,易导致分割困难。针对产房中仔猪分割困难问题,本文提出一种基于YOLO v5s和GAN(Generative adversarial network)的实例分割模型OD_SeGAN。该方法通过目标检测算法YOLO v5s提取出仔猪目标,并输入至语义分割算法GAN实现分割,并使用空洞卷积替换GAN中的普通卷积,扩大网络感受野;其次,使用挤压-激励注意力机制模块,增强模型对仔猪全局特征的学习能力,提高模型的分割精度。实验结果表明,OD_SeGAN在测试集上IoU为88.6%,分别比YOLO v5s_Seg、Cascade_Mask_RCNN、Mask_RCNN、SOLO、Yolact高3.4、3.3、4.1、9.7、8.1个百分点。将OD_SeGAN应用于仔猪窝均质量估测任务中,测得仔猪窝均质量和仔猪像素点数之间皮尔逊相关系数为0.956。OD_SeGAN在实际生产场景中具有良好的仔猪分割性能,可为仔猪窝均质量估测等后续研究提供技术基础。

    Abstract:

    In the research on smart pig breeding, the pig instance segmentation method is one of the key technologies to realize automatic detection of pigs. However, in actual segmentation scenarios, there is occlusion and adhesion phenomenon, which makes pig segmentation difficult. Aiming at the difficulty of piglet segmentation in the farrowing room, an instance segmentation model OD_SeGAN was proposed based on YOLO v5s and generative adversarial network(GAN). This method extracted the piglet target through the target detection algorithm YOLO v5s, and inputed it into the semantic segmentation algorithm GAN to achieve segmentation, and used dilated convolution to replace the ordinary convolution in GAN to expand the network receptive field; secondly, a squeeze-incentive attention mechanism was used module to enhance the model’s ability to learn the global characteristics of piglets and improve the model’s segmentation accuracy. Experimental results showed that OD_SeGAN’s IoU on the test set was 88.6%, which was 3.4, 3.3, 4.1, 9.7, and 8.1 percentage points higher than YOLO v5s_Seg, Cascade_Mask_RCNN, Mask_RCNN, SOLO, and Yolact, respectively. OD_SeGAN was applied to the piglet litter average weight estimation task, and the Pearson correlation coefficient between the piglet litter average weight and the number of piglet pixels was measured to be 0.956. The OD_SeGAN proposed had good piglet segmentation performance in actual production scenarios, and can provide a technical basis for subsequent research such as piglet litter weight estimation.

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

李鹏,沈明霞,刘龙申,陈金鑫,薛鸿翔,衡熙,孙玉文.基于OD_SeGAN的断奶前仔猪实例分割方法[J].农业机械学报,2025,56(5):482-491. LI Peng, SHEN Mingxia, LIU Longshen, CHEN Jinxin, XUE Hongxiang, HENG Xi, SUN Yuwen. Instance Segmentation Method of Pre-weaning Piglets Based on OD_SeGAN[J]. Transactions of the Chinese Society for Agricultural Machinery,2025,56(5):482-491.

复制
相关视频

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