基于改进YOLOv5s的番茄叶片病害检测算法

Tomato leaf disease detection algorithm based on Yolov5s

ES评分 0

DOI 10.12208/j.jeea.20250200
刊名
Journal of Electrical Engineering and Automation
年,卷(期) 2025, 4(6)
作者
作者单位

南京邮电大学通达学院电气工程学院 江苏扬州

摘要
针对环境因素复杂和病害种类多样等对番茄叶片病害检测的影响,提出一种基于YOLOv5s的番茄叶片病害检测算法。首先,对多种病害图像进行预处理,增强数据集的丰富性。为提升模型的图像分类能力,引入注意力机制;将YOLOv8的C2f模块替换C3模块,以获得更为丰富的梯度流信息;替换损失函数SIoU以加快收敛速度,改善推理效果;通过CARAFE代替原有最近邻插值法,以获取更丰富的特征图信息。改进后的算法在验证中mAP0.5为 93.3%,比YOLOv5s、YOLOv8等主流模型有较大提高。提出的番茄叶片病害检测方法,在保证检测速度的同时,可实现复杂场景下对叶片病害的准确识别,满足识别精准率的要求,为番茄叶片病害防治提供理论支持。
Abstract
A modified algorithm based on YOLOv5s is proposed for tomato leaf disease detection under interference from complex environmental factors and diverse types of diseases. Firstly, multiple disease images are preprocessed to enhance the richness of the dataset. In order to enhance the image classification ability of the model, the attention mechanism is introduced in the backbone network; the C2f module of YOLOv8 replaces the original C3 module to obtain richer gradient flow information; the loss function SIoU is replaced to accelerate the convergence speed and improve the inference effect; CARAFE (Content Aware ReAssembly of FEatures) is utilized instead of the original nearest-neighbor interpolation method to expand the improved model's receptive field, obtaining more feature map information effectively, thereby enhancing detection capabilities while ensuring lightweight design. In experiments, the improved algorithm achieves a mAP0.5of 93.3% in test validation, outperforming the main models, such as the original YOLOv5s, YOLOv8, et al. The proposed tomato leaf disease detection method maintains good detection speed and high accuracy in complex real-world scenarios. This improved algorithm meets the requirements for precision recognition, providing theoretical support for the prevention and control of tomato leaf diseases.
关键词
YOLOv5;CARAFE;注意力机制;番茄叶片病害;SIoU
KeyWord
YOLOv5; CARAFE; Attention mechanism; Tomato leaf diseases; SIoU
基金项目
页码 10-18
  • 参考文献
  • 相关文献
  • 引用本文

刘家华, 秦绪彬, 施泽栋. 基于改进YOLOv5s的番茄叶片病害检测算法 [J]. 电气工程与自动化. 2025; 4; (6). 10 - 18.

  • 文献评论

相关学者

相关机构