English

中国农机化学报

中国农机化学报 ›› 2024, Vol. 45 ›› Issue (7): 255-260.DOI: 10.13733/j.jcam.issn.2095-5553.2024.07.038

• 农业智能化研究 • 上一篇    下一篇

改进YOLOv8的农作物叶片病虫害识别算法

张书贵1, 2, 3, 陈书理1, 赵展1   

  1. 1. 开封大学信息工程学院,河南开封,475001; 2. 河南省高标准农田智能灌溉工程研究中心,河南开封,475001; 3. 开封市农业物联网工程技术中心,河南开封,475001
  • 出版日期:2024-07-15 发布日期:2024-06-25
  • 基金资助:
    河南省高等学校重点科研项目计划(21A520029)

Recognition algorithm for crop leaf diseases and pests based on improved YOLOv8 

Zhang Shugui1, 2, 3, Chen Shuli1, Zhao Zhan1   

  1. 1. School of Information Engineering, Kaifeng University, Kaifeng, 475001, China;  2. Research Center of High-Standard Farmland Intelligent Irrigation Project in Henan, Kaifeng, 475001, China;  3. Kaifeng Agricultural Internet of Things Engineering Technology Center, Kaifeng, 475001, China
  • Online:2024-07-15 Published:2024-06-25

摘要: 针对传统检测网络难以准确、高效地提取农作物叶片病虫害特征信息的问题,通过改进YOLOv8网络,提出一种多层级多尺度特征融合的农作物叶片病虫害识别算法。通过学习不同层级特征直接的特征关系,构建多层级特征编码模块,学习全面的特征表达;在Transformer的基础上设计多尺度空间—通道注意力模块,利用学习细粒度、粗粒度等多尺度全面的特征表达模式,捕获不同尺度特征之间的互补关系,并将所有特征表示有效融合起来,构成完整的图像特征表示,进而获取更佳的识别结果。在Plant Village公开数据集进行试验验证,结果表明:提出的改进方法能够有效提升配准精度,准确地识别出农作物叶片上同时存在的不同病虫害,对番茄叶片检测的mAP 0.5达到88.74%,比传统YOLOv8方法提升8.53%,且计算耗时没有明显增加。消融试验也充分证明所提各个模块的有效性,能够更好地实现高精度识别叶片病虫害,为农田智慧化管理提供有力支持和保障。

关键词: 叶片病虫害识别, 多层级特征编码, 多尺度特征融合, 通道注意力, 特征表达

Abstract: Aiming at the problem that traditional detection networks are difficult to extract the feature information of crop leaf pest and disease accurately and efficiently, a multilevel and multiscale feature fusion recognition algorithm for crop leaf pest is proposed through the improvement of YOLOv8 network. Firstly, a multilevel feature coding module is constructed to learn the comprehensive feature representation by learning the direct feature relationships of different levels of features. Then, a multiscale spacechannel attention module is designed on the basis of Transformer to capture the complementary relationships between different scales of features by learning the comprehensive multiscale feature representation patterns such as finegrained and coarsegrained, and all feature representations are effectively. The whole feature representations are fused, and the better recognition results are obtained.Finally, the experimental validation is conducted on the Plant Village public dataset, and the results show that the proposed improved method can effectively improve the alignment accuracy and accurately recognize different pests and diseases existing on the leaves of crops at the same time, and the mAP 0.5 for tomato leaves detection reaches 88.74%, which is 8.53% higher than the traditional YOLOv8 method, without significant increase in computation time. The ablation experiments also fully demonstrate the effectiveness of the proposed modules, which can better achieve highprecision leaf insect and disease recognition and provide a strong support and guarantee for the intelligent management of farmland.

Key words: recognition of leaf disease and pest, multilevel feature coding, multiscale feature fusion, channel attention, feature expression

中图分类号: