基于卷积神经网络的大白母猪发情行为识别方法研究
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划项目(2016YFD0700204)


Recognition Method of Large White Sow Oestrus Behavior Based on Convolutional Neural Network
Author:
Affiliation:

Fund Project:

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

    针对现有发情检测方法灵敏度低、识别时间长、易受外界干扰等缺点,根据大白母猪试情时双耳竖立的特征,提出一种基于卷积神经网络(Convolutional neural network, CNN)的大白母猪发情行为识别方法。首先通过采集公猪试情时发情大白母猪与未发情大白母猪的耳部图像,划分训练集样本(80%)与验证集样本(20%)用于后期训练。随后,基于AlexNet卷积神经网络构建分类模型(AlexNet_Sow),并对该模型的网络结构进行简化,简化后的模型包含2个卷积模块和2个全连接模块,选择修正线性单元(Rectified linear units, ReLU)作为激活函数,用自适应矩估计(Adaptive moment estimation, Adam)方法优化梯度下降,选择Softmax作为网络分类器,通过结合增强学习的方法对模型进行训练,得到模型应用于验证集的准确率达到99%。此外,设定了发情鉴定的时间阈值,并结合LabVIEW的Python节点用于模型应用。当公猪试情时,大白母猪双耳竖立时长达到76s时,则可判定其为发情。该方法对大白母猪发情识别的精确率、召回率与准确率分别为100%、83.33%、93.33%,平均单幅图像的检测时间为26.28ms。该方法能够实现大白母猪发情的无接触自动快速检测,准确率高,大大降低了猪只应激情况和人工成本。

    Abstract:

    Timely monitoring of sow oestrus is very important in sow breeding. Recently, recognition methods of sow oestrus are low sensitivity, wasting time and usually affected by environment. To resolve these problems, based on ear erect behavior of large white pigs during estrus, a method of large white sow’s oestrus behavior recognition based on convolutional neural network (CNN) was proposed. A model based on AlexNet convolutional neural network, named AlexNet_Sow was firstly developed. Then, AlexNet_Sow model was simplified to get a new model named AlexNet_Sow_Simplified, which contained two convolution modules and two fully connected modules. The activation function of AlexNet_Sow_Simplified was rectified linear units (ReLU), adaptive moment estimation (Adam) was used to optimize gradient descent, and softmax was used to be the classifier of our model. Ear images of oestrus and non-oestrus large white sows were collected and divided into training data (80%) and testing data (20%). The model was trained by using data augmentation method, the accuracy of testing data was 99%. In addition, it was found that when sows’ ears were erect for 76s during teasing, it could be judged as the symbol of oestrus. In order to verify this method, LabVIEW Python nodes were used to intergrate the AlexNet_Sow_Simplified model and set a time threshold of 76s and verified a set of new photos. The result showed that the precision rate, recall rate and accuracy rate of this method to recognize sow oestrus were 100%, 83.33%, and 93.33%, respectively. The average detecting time of a single image was 26.28ms. It proved that this method could achieve noncontact, automatic, and fast detecting of oestrus in large white sows with high accuracy, which could greatly help to reduce sows’stress and the labor cost.

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

庄晏榕,余炅桦,滕光辉,曹孟冰.基于卷积神经网络的大白母猪发情行为识别方法研究[J].农业机械学报,2020,51(s1):364-370. ZHUANG Yanrong, YU Jionghua, TENG Guanghui, CAO Mengbing. Recognition Method of Large White Sow Oestrus Behavior Based on Convolutional Neural Network[J]. Transactions of the Chinese Society for Agricultural Machinery,2020,51(s1):364-370.

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