北方农业学报 ›› 2025, Vol. 53 ›› Issue (4): 121-134.doi: 10.12190/j.issn.2096-1197.2025.04.11

• 园艺·农业信息技术 • 上一篇    

基于YOLOv5s-GCB模型的苹果叶部病害检测研究

赵兴, 王迎超, 刘纪博   

  1. 新疆科技学院 信息科学与工程学院,新疆 库尔勒841000
  • 收稿日期:2025-04-18 出版日期:2025-08-20 发布日期:2025-12-09
  • 通讯作者: 刘纪博(1998—),男,讲师,硕士,主要从事人工智能、智慧农业方面的工作。
  • 作者简介:赵兴(1999—),男,助教,硕士,主要从事人工智能、数字图像处理方面的工作。
  • 基金资助:
    教育部产学合作协同育人项目(240902108204112); 新疆科技学院大学生创新创业训练计划项目(X202613561083); 产教融合与新商科发展研究中心招标课题(2025-KYJD07); 2025新疆网信科创课题研究(12521608)

Research on apple leaf disease detection based on the YOLOv5s-GCB model

ZHAO Xing, WANG Yingchao, LIU Jibo   

  1. School of Information Science and Engineering,Xinjiang College of Science & Technology,Korla 841000,China
  • Received:2025-04-18 Online:2025-08-20 Published:2025-12-09

摘要: 【目的】提出一种基于YOLOv5s-GCB模型的苹果叶部病害检测方法,旨在实现模型轻量化的同时提升检测精度。【方法】在YOLOv5s框架基础上,引入Ghost卷积以减少卷积计算量,实现模型轻量化;在 Neck 部分嵌入坐标CA注意力机制,增强对苹果叶片病斑区域的特征关注能力;并采用双向加权特征金字塔结构(BiFPN)优化多尺度病斑特征融合。基于采集的苹果叶部病害图像数据集对改进模型YOLOv5s-GCB进行训练与测试。【结果】改进的YOLOv5s-GCB模型在苹果叶部病害检测任务中表现优异,精确率(Precision)、召回率(Recall)与平均精度均值(mAP@0.5)分别达到 90.7%、87.4% 和 93.4%。在苹果叶部斑点落叶病、灰斑病、锈病的检测中,YOLOv5s-GCB模型的mAP@0.5均最高,分别为93.8%、93.4%、93.0%。【结论】改进的YOLOv5s-GCB模型不仅具备高精度和高速度的检测能力,且模型小,适用于苹果叶部病害的自动化智能识别,具有较强的实用价值。

关键词: YOLOv5s, Ghost, CA注意力机制, 双向加权特征金字塔结构(BiFPN), 苹果叶部病害, 检测

Abstract: 【Objective】To propose an apple leaf disease detection method based on the YOLOv5s-GCB model,aiming to achieve a lightweight model while improving detection accuracy. 【Methods】On the basis of the YOLOv5s framework,Ghost convolution was introduced to reduce the computational load of convolution operations,thereby achieving a model lightweight;a coordinate attention(CA) mechanism was embedded in the Neck component to enhance the feature attention capability toward diseased spot regions on apple leaves;and a bidirectional weighted feature pyramid network(BiFPN) was adopted to optimize the multi-scale fusion of diseased spot features. The improved YOLOv5s-GCB model was trained and tested on a collected dataset of apple leaf disease images. 【Results】The improved YOLOv5s-GCB model demonstrates excellent performance in apple leaf disease detection tasks,with Precision,Recall,and mean Average Precision(mAP@0.5)reaching 90.7%,87.4%,and 93.4%,respectively. For the detection of Apple Alternaria blotch,gray leaf spot disease,and rust disease,the YOLOv5s-GCB model achieves the highest mAP@0.5 values of 93.8%,93.4%,and 93.0%,respectively. 【Conclusion】The improved YOLOv5s-GCB model not only possesses high-precision and high-speed detection capabilities but also features a compact model size,making it suitable for automated intelligent recognition of apple leaf diseases and demonstrating strong practical value.

Key words: YOLOv5s, Ghost, Coordinate attention(CA) mechanism, Bidirectional weighted feature pyramid network(BiFPN), Apple leaf diseases, Detection

中图分类号: 

  • S436.611.1