A study based on weed image recognition of a corn-weed control robot

Pub Date : 2023-10-10 DOI:10.1117/12.3005812
Shengbo Li, Dejin Zhao
{"title":"A study based on weed image recognition of a corn-weed control robot","authors":"Shengbo Li, Dejin Zhao","doi":"10.1117/12.3005812","DOIUrl":null,"url":null,"abstract":"Based on the ability of YOLOv5 algorithm for maize weed image recognition, an improved model is proposed to promote the precision of the model for weed identification by adding the attention mechanism ACmix. The backbone network module has been enhanced by incorporating the ACmix module to substitute the 3×3 convolution kernel, while the detection head part has been upgraded through replacement of the 3×3 convolution with the CBAM attention mechanism. The detection accuracy of the model is improved by learning the feature map information at multiple target scales simultaneously. To explore the performance of the model, we collected large number of corn and weed images, built our own dataset and labeled it using the Labelimg tool. Regarding the preprocessing of data, techniques including data augmentation were utilized to improve the model's ability to generalize. We also performed experimental validation using the dataset, and the results show that our improved model achieves significant improvements in both detection and classification tasks of corn weed images compared to the original YOLOv5 algorithm. Finally, we conducted comparative experiments on the ACmix attention mechanism and compared it with other commonly used attention mechanisms. Through training experiments on the established dataset, it is found that the improved model achieves 94.3%precision and 82.5 %recall. Compared with the original YOLOv5 model, the precision improved by 3.0% and recall improved by 1.5%; compared with YOLOv4, the precision improved by 4.6% and recall improved by 1.8%. The results show that the ACmix attention mechanism has advantages in improving model performance. In summary, this paper proposes an improved method based on YOLOv5 deep learning neural network to improve the accuracy of maize weed image recognition by adding the attention mechanism ACmix, which has practical application value. A corn seedling weed dataset was established to provide a data base for subsequent research on corn weeds.","PeriodicalId":0,"journal":{"name":"","volume":null,"pages":null},"PeriodicalIF":0.0,"publicationDate":"2023-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.3005812","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Based on the ability of YOLOv5 algorithm for maize weed image recognition, an improved model is proposed to promote the precision of the model for weed identification by adding the attention mechanism ACmix. The backbone network module has been enhanced by incorporating the ACmix module to substitute the 3×3 convolution kernel, while the detection head part has been upgraded through replacement of the 3×3 convolution with the CBAM attention mechanism. The detection accuracy of the model is improved by learning the feature map information at multiple target scales simultaneously. To explore the performance of the model, we collected large number of corn and weed images, built our own dataset and labeled it using the Labelimg tool. Regarding the preprocessing of data, techniques including data augmentation were utilized to improve the model's ability to generalize. We also performed experimental validation using the dataset, and the results show that our improved model achieves significant improvements in both detection and classification tasks of corn weed images compared to the original YOLOv5 algorithm. Finally, we conducted comparative experiments on the ACmix attention mechanism and compared it with other commonly used attention mechanisms. Through training experiments on the established dataset, it is found that the improved model achieves 94.3%precision and 82.5 %recall. Compared with the original YOLOv5 model, the precision improved by 3.0% and recall improved by 1.5%; compared with YOLOv4, the precision improved by 4.6% and recall improved by 1.8%. The results show that the ACmix attention mechanism has advantages in improving model performance. In summary, this paper proposes an improved method based on YOLOv5 deep learning neural network to improve the accuracy of maize weed image recognition by adding the attention mechanism ACmix, which has practical application value. A corn seedling weed dataset was established to provide a data base for subsequent research on corn weeds.
分享
查看原文
基于杂草图像识别的玉米杂草控制机器人研究
基于YOLOv5算法对玉米杂草图像识别的能力,提出了一种改进模型,通过加入注意机制ACmix来提高杂草识别模型的精度。骨干网模块增强,采用ACmix模块替代3×3卷积核,检测头部分升级,采用CBAM注意机制替代3×3卷积。通过同时学习多个目标尺度上的特征映射信息,提高了模型的检测精度。为了探索模型的性能,我们收集了大量的玉米和杂草图像,构建了自己的数据集,并使用Labelimg工具对其进行了标记。在数据预处理方面,采用了数据增强等技术来提高模型的泛化能力。我们还利用数据集进行了实验验证,结果表明,改进后的模型在玉米杂草图像的检测和分类任务上都比原来的YOLOv5算法有了显著的提高。最后,我们对ACmix注意机制进行了对比实验,并将其与其他常用的注意机制进行了比较。通过在已建立的数据集上进行训练实验,发现改进后的模型准确率达到94.3%,召回率达到82.5%。与原来的YOLOv5模型相比,准确率提高3.0%,召回率提高1.5%;与YOLOv4相比,准确率提高了4.6%,召回率提高了1.8%。结果表明,ACmix注意机制在提高模型性能方面具有优势。综上所述,本文提出了一种基于YOLOv5深度学习神经网络的改进方法,通过加入注意机制ACmix来提高玉米杂草图像识别的准确率,具有实际应用价值。建立玉米幼苗杂草数据集,为后续玉米杂草研究提供数据基础。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信