常态养殖下妊娠母猪体质量智能测定模型
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划(2021YFD200802);生猪健康识别、养殖环境控制设备技术研发与规模化示范项目(2018A020101)


Intelligent mass measurement model for gestating sows under normality breeding
Author:
Affiliation:

Fund Project:

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

    针对常态养殖下视频图像中常见的遮挡问题,该研究借鉴深度学习技术中的实例分割和关键点检测算法,提出了基于深度学习的妊娠母猪体质量智能测定模型(Intelligent Mass Measurement Model for Gestating Sows, IMMM-GS)。该模型包括基于Mask R-CNN的猪只实例分割算法、基于Keypoint R-CNN的猪只关键点检测算法和基于改进的ResNet网络的猪只质量估测算法3个主要算法,用以处理常态环境下围栏、食槽、排泄物等影响猪体质量估测的典型遮挡问题。试验使用48头妊娠母猪6个月的常态视频图像和猪体质量数据进行数据集构建和试验分析,模型在测试集上的均方根误差为3.01 kg,相较于以ConvNeXt和ResNet为骨干网络的模型分别降低2.14和7.86 kg,模型精度得到较大提升。此外,该模型还对10头妊娠母猪进行了3个月的猪体质量跟踪监测验证,在图像大小为2 688×1 520的情况下,每幅图像的平均估算速度为0.684 s,估测质量与真实质量的均方根误差平均值为3.24 kg,计算速度与精度基本满足实时运算需求。IMMM-GS模型能够利用常态视频长时间实时评估母猪妊娠期的质量增长规律、妊娠母猪发育状况、估测预产期和产仔数等繁殖性能提供了数据支持,具有广阔的应用前景。

    Abstract:

    Abstract: Body mass growth of gestating sows is an important indicator of their health status and reproductive performance. Computer vision-based contactless pig body mass measurement methods can effectively reduce stress and have become a hot topic in recent years. However, most current computer vision-based contactless pig mass measurement methods require data acquisition and mass measurement calculation under specific ideal experimental environments and lack application in usual breeding environments. In this paper, an Intelligent Mass Measurement Model for Gestating Sows (IMMM-GS) based on deep learning is proposed based on video image data under usual farming by using instance segmentation and keypoint detection algorithms in computer vision technology. The model includes three main sub-algorithms to solve the typical occlusion problem in the normal environment, the first is the pig instance segmentation algorithm based on Mask R-CNN, the second is the pig keypoint detection algorithm based on Keypoint R-CNN, and the last is the pig mass measurement algorithm based on modified ResNet. The instance segmentation algorithm is used to segment the pigs from the image to reduce the influence of the image background on the mass measurement, and the keypoint detection algorithm is used to eliminate incomplete pigs to ensure that there are no incomplete pigs in the dataset. In this paper, video data and mass data of 48 gestating sows for six months are used for dataset construction and experimental analysis. The datasets were collected at a commercial pig farm in Guangzhou City, Guangdong Province, China in 2022. A camera was deployed to the slide rail to get real-time video data of the pigs, and the test pigs were weighed every five days. The IMMM-GS model used the PyTorch deep learning framework, MMDetection framework, and MMPose framework. The experiment was carried out on the Ubuntu18.04 system with a CPU of Intel Core i7-9700 and a GPU (graphics processing units) of NVIDIA A30 whose memory was 24 GB. The root mean square error of the model on the test set was 3.01 kg, which was 2.14 kg and 7.86 kg lower compared to the model with ConvNeXt and ResNet as the backbone network. And the mean absolute percentage error was 2.02%, which was 2.10% and 4.75% lower than the model with ConvNeXt and ResNet as the backbone network. The model constructed in this paper also monitored the mass of ten gestating sows for three months with an image size of 2 688×1 520, the average measurement speed per image was 0.684 s and the root mean square error between the estimated mass and the actual mass was 3.24 kg and the computational speed and accuracy met the demand of real-time computing. Therefore, the author thought that the IMMM-GS model could provide data support for estimating the reproductive performance such as the mass growth pattern of sows during gestation, the developmental status of gestating sows, and estimating the expected farrowing period and litter size in real-time using the standing video for a long time, and has broad application prospects.

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

肖德琴,刘俊彬,刘又夫,黄一桂,谭祖杰,熊本海.常态养殖下妊娠母猪体质量智能测定模型[J].农业工程学报,2022,38(Z):161-169. DOI:10.11975/j. issn.1002-6819.2022. z.018

Xiao Deqin, Liu Junbin, Liu Youfu, Huang Yigui, Tan Zujie, Xiong Benhai. Intelligent mass measurement model for gestating sows under normality breeding[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE),2022,38(Z):161-169. DOI:10.11975/j. issn.1002-6819.2022. z.018

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2022-10-02
  • 最后修改日期:2022-11-21
  • 录用日期:
  • 在线发布日期: 2023-02-07
  • 出版日期:
文章二维码
您是第位访问者
ICP:京ICP备06025802号-3
农业工程学报 ® 2024 版权所有
技术支持:北京勤云科技发展有限公司