河南农业科学 ›› 2022, Vol. 51 ›› Issue (12): 153-161.DOI: 10.15933/j.cnki.1004-3268.2022.12.018

所属专题: 病虫害识别专题

• 农业信息与工程·农产品加工 • 上一篇    下一篇

基于实例分割的玉米虫害检测研究

赵康迪1,单玉刚2,袁杰1,赵元龙1   

  1. (1.新疆大学 电气工程学院,新疆 乌鲁木齐 830017;2.湖北文理学院,湖北 襄阳 441000)
  • 收稿日期:2022-07-01 出版日期:2022-12-15 发布日期:2023-01-17
  • 通讯作者: 单玉刚(1971-),男,辽宁沈阳人,讲师,博士,主要从事模式识别研究。E-mail:shanyg@21cn.com
  • 作者简介:赵康迪(1995-),男,河南南阳人,在读硕士研究生,研究方向:图像处理技术。E-mail:2934810053@qq.com
  • 基金资助:
    国家自然科学基金项目(61863033,62263031);新疆维吾尔自治区自然科学基金项目(2022D01C53);湖北省教育科学规划基金项目(2021GA048);教育部产学合作协同育人项目(202102602033);襄阳市重点科技计划项目(2020ABH001799)

Research on Maize Pest Detection Based on Instance Segmentation

ZHAO Kangdi1,SHAN Yugang2,YUAN Jie1,ZHAO Yuanlong1   

  1. (1.School of Electrical Engineering,Xinjiang University,Urumqi 830017,China;2.Hubei University of Arts and Sciences,Xiangyang 441000,China)
  • Received:2022-07-01 Published:2022-12-15 Online:2023-01-17

摘要: 为实现玉米虫害精准、快速识别,提出基于实例分割的卷积神经网络结合迁移学习的虫害检测方法。以草地贪夜蛾的卵、幼虫、成虫为检测对象,使用数据增强对图像数据进行扩充,将Yolact++模型在COCO数据集上的预训练权重迁移至草地贪夜蛾的检测。使用focal loss中解决难易样本不均衡的思想,优化模型中的损失函数。以Detnet模型改进Yolact++模型中Resnet主干模型部分,提高对小目标检测的效果。训练过程中使用卷积层先冻结再解冻、局部与全局相结合的训练方法,获得最优权重模型,并对模型进行测试。结果表明:该方法与YoloV3+迁移学习、SSD+迁移学习、Yolact+迁移学习、Yolact++等检测算法相比,对复杂背景图像检测有更好的准确率与漏检率,测试的准确率达到96.32%,漏检率为5.51%,误检率为5.33%。

关键词: 玉米虫害, 草地贪夜蛾, 实例分割, 迁移学习, Yolact++, Detnet

Abstract: In order to achieve accurate and rapid identification of maize pests,this paper proposes a pest detection method using convolutional neural network combined with transfer learning based on instance segmentation.Taking eggs,larvae and adults of Spodoptera frugiperda as detection objects,the image data was expanded by data enhancement,and the pre‑training weights of Yolact++ model on COCO data set were migrated to the detection of Spodoptera frugiperda.Using the idea of focal loss to solve the imbalance of difficult and easy samples,the loss function in the model was optimized. The Detnet model was used to improve the Resnet trunk model in the Yolact++ model to improve the effect of small target detection.In the training process,the convolution layer was first frozen and then thawed,and the local and global training methods were combined to obtain the optimal weight model,and the model was tested. The test results showed that compared with the detection algorithms of YoloV3+migration learning,SSD+migration learning,Yolact+migration learning and Yolact++,this method had better accuracy and missed detection rate for complex background image detection. The accuracy of the test reached 96.32%,the missed detection rate was 5.51%,and the false detection rate was 5.33%.

Key words: Maize pest, Spodoptera frugiperda, Instance segmentation, Transfer learning, Yolact++, Detnet

中图分类号: