基于Mask R-CNN的猪只爬跨行为识别
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重大科技基础设施项目(4444-10099609)


Mounting Behavior Recognition for Pigs Based on Mask R-CNN
Author:
Affiliation:

Fund Project:

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

    针对目前猪只爬跨行为自动化检测程度较低的问题,提出了一种基于Mask R-CNN的猪只爬跨行为识别算法。首先获取猪只俯视图像,利用Labelme制作数据集标签,引入迁移学习方法训练ResNet-FPN网络,获取猪只分割结果,并提取每个样本中的mask像素面积。提取每个样本中的最小mask像素面积作为爬跨行为识别的经验样本集,确定爬跨行为界定阈值。利用测试集分别测试猪只分割网络模型及爬跨行为识别算法,结果表明,猪只分割网络模型的分割准确率为94%,爬跨行为识别算法准确率为94.5%。本算法能够自动有效地检测猪只爬跨行为,可为牲畜养殖自动化提供支持。

    Abstract:

    The mounting behavior of pigs is generally manifested as a pig puts two front legs on the body or head of another pig which stays lying or dodged quickly. Mounting between pigs often causes epidermal wounds and even fractures, which reduces animal welfare and affects the economic benefits. Therefore, it is necessary to isolate the mounting pigs in time. In view of the low degree of automation of current mounting behavior detection of pigs, an algorithm based on Mask R-CNN was proposed to recognize the mounting behavior of pigs. Firstly, the top view videos of pigs were shot, and the dataset labels were made by Labelme. The transfer learning was applied to train the ResNet-FPN network to obtain the pig segmentation result and extract the mask pixel area in each sample. The value of the minimum mask pixel area in each sample was extracted in order to build an empirical sample set for mounting behavior recognition, and the discriminant threshold of the mounting behavior of pigs was determined. In the experiment, the test dataset was used to evaluate the pig segmentation network model and the mounting behavior recognition algorithm. The segmentation accuracy of the network was 94%, and the accuracy of the mounting behavior recognition algorithm was 94.5%. The experimental results showed that the algorithm can effectively detect the mounting behavior of pigs and provide support for livestock breeding automation.

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

李丹,张凯锋,李行健,陈一飞,李振波,蒲东.基于Mask R-CNN的猪只爬跨行为识别[J].农业机械学报,2019,50(Supp):261-266,275.

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