首页|基于改进YOLOv8卷积神经网络的稻田苗期杂草检测方法

基于改进YOLOv8卷积神经网络的稻田苗期杂草检测方法

扫码查看
针对田间自然环境拍摄下稻田背景复杂,苗期杂草图像尺寸过小、识别定位不准确等问题,提出了一种改进YOLOv8卷积神经网络的苗期杂草检测方法.参照PASCAL VOC数据集格式,构建了一套专用的数据集.首先,在网络卷积过程中加入DenseNet(密集连接网络)更好地对杂草特征进行提取,优化梯度消失问题.然后,添加CBAM(Convolutional block attention module)注意力机制改善模型对小尺寸的敏感度.最后,使用WIOU(Weighted intersection over union)损失函数来优化原网络中的损失函数,提升模型对检测目标的定位能力.在试验中,将改进的算法与Faster R-CNN、SSD(Single shot multiBox detector)以及原始YOLOv8等算法进行了性能对比.结果显示,改进算法明显优于其他算法,在测试集上的平均精度均值和检测速度分别达97.0%和100.3帧/s.这种高精度和快速的检测能力满足了精准农业中对快速、精准检测的需求.该算法为机械设备快速识别苗期杂草、精准喷洒农药提供了重要的理论和技术支持.
Detection of weeds in paddy field at the seedling stage based on improved YOLOv8 convolutional neural network
Aiming at the problems of complex background of paddy field,small size of weed image at the seedling stage,inaccurate identification and positioning under field natural environment photography,an improved YOLOv8 convolutional neural network meth-od for weed detection at the seedling stage was proposed.A dedicated dataset based on the PASCAL VOC dataset format was construct-ed.First,DenseNet in the network convolution process was added to better extract weed features and optimize the vanishing gradient problem.Then,CBAM(Convolutional block attention module)attention mechanism was added to improve the model's sensitivity to small sizes.Finally,the WIOU(Weighted intersection over union)loss function was used to optimize the loss function in the original network and improve the positioning ability of the model to the detection target.In the experiment,the performance of the improved al-gorithm was compared with algorithms such as Faster R-CNN,SSD(Single shot multiBox detector)and the original YOLOv8.The re-sults showed that the improved algorithm was significantly superior to other algorithms,achieving an average precision of 97%and a detection speed of 100.3 frames/s on the test set,respectively.This high-precision and rapid detection capability met the demand for rapid and accurate detection in precision agriculture.This algorithm provided important theoretical and technical support for mechani-cal equipment to quickly identify weeds during the seedling stage and accurately spray pesticides.

YOLOv8convolutional neural networkseedling weedstarget detection

林宗缪、马超、胡冬

展开 >

上海市质量监督检验技术研究院,上海 201114

上海市农业科学院农业科技信息研究所,上海 201403

农业农村部长三角智慧农业技术重点实验室,上海 201403

YOLOv8 卷积神经网络 苗期杂草 目标检测

上海市市场监督管理局科研计划项目

2022-52

2024

湖北农业科学
湖北省农业科学院 华中农业大学 长江大学 黄冈师范学院

湖北农业科学

CSTPCD
影响因子:0.442
ISSN:0439-8114
年,卷(期):2024.63(8)
  • 13