Wheat straw target detection algorithm based on improved YOLOv5

Pengfei Li, Heng Wang, Xueyu Huang
{"title":"Wheat straw target detection algorithm based on improved YOLOv5","authors":"Pengfei Li, Heng Wang, Xueyu Huang","doi":"10.1109/ISPDS56360.2022.9874020","DOIUrl":null,"url":null,"abstract":"In agricultural production, the growth and yield of crops have always attracted people's attention. For the detection of wheat planting density, a wheat straw detection model based on improved YOLOv5 is proposed in this paper. Firstly, at the end of the backbone network, the C3 module (C3TR) integrated with Transformer is used to replace the traditional C3 module, so that the model can extract more feature information about wheat straw in the feature extraction stage; Secondly, after the improved C3 module is embedded the location attention module (Coordinate Attention, CA), by capturing the long-distance dependence on the space and the channel, makes the model more focused on the feature extraction of the target area, and further strengthens the feature extraction ability of the backbone network; Finally, for the traditional frame regression loss the function cannot solve the problem of returning gradients when the predicted frame and the real frame intersect. It is proposed to use CIoU instead of the traditional GIoU, and continue to guide the predicted frame while considering the Euclidean distance and aspect ratio of the center point of the predicted frame and the real frame. Moving closer to the ground-truth box, the loss function is further reduced. On the homemade wheat straw dataset, under the same training strategy, the experimental results show that! Compared with the traditional YOLOv5 model, the improved model has a 1.71% increase in mAP, which proves that the improved model is superior to the traditional YOLOv5 model in terms of accuracy, and has a better detection effect on small targets such as wheat straw some practicality.","PeriodicalId":280244,"journal":{"name":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd International Conference on Information Science, Parallel and Distributed Systems (ISPDS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPDS56360.2022.9874020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In agricultural production, the growth and yield of crops have always attracted people's attention. For the detection of wheat planting density, a wheat straw detection model based on improved YOLOv5 is proposed in this paper. Firstly, at the end of the backbone network, the C3 module (C3TR) integrated with Transformer is used to replace the traditional C3 module, so that the model can extract more feature information about wheat straw in the feature extraction stage; Secondly, after the improved C3 module is embedded the location attention module (Coordinate Attention, CA), by capturing the long-distance dependence on the space and the channel, makes the model more focused on the feature extraction of the target area, and further strengthens the feature extraction ability of the backbone network; Finally, for the traditional frame regression loss the function cannot solve the problem of returning gradients when the predicted frame and the real frame intersect. It is proposed to use CIoU instead of the traditional GIoU, and continue to guide the predicted frame while considering the Euclidean distance and aspect ratio of the center point of the predicted frame and the real frame. Moving closer to the ground-truth box, the loss function is further reduced. On the homemade wheat straw dataset, under the same training strategy, the experimental results show that! Compared with the traditional YOLOv5 model, the improved model has a 1.71% increase in mAP, which proves that the improved model is superior to the traditional YOLOv5 model in terms of accuracy, and has a better detection effect on small targets such as wheat straw some practicality.
基于改进YOLOv5的麦秸目标检测算法
在农业生产中,农作物的生长和产量一直是人们关注的问题。针对小麦种植密度的检测,本文提出了一种基于改进YOLOv5的麦秸检测模型。首先,在骨干网末端,采用集成Transformer的C3模块(C3TR)取代传统的C3模块,使模型在特征提取阶段能够提取更多的麦秆特征信息;其次,在改进的C3模块内嵌位置注意模块(Coordinate attention, CA)后,通过捕获对空间和信道的远距离依赖,使模型更加专注于目标区域的特征提取,进一步增强了骨干网的特征提取能力;最后,对于传统的帧回归损失,该函数不能解决预测帧与真实帧相交时返回梯度的问题。提出用CIoU代替传统的GIoU,在考虑预测帧与真实帧中心点的欧氏距离和纵横比的情况下,继续对预测帧进行引导。靠近真值盒,损失函数进一步减小。在自制麦秸数据集上,在相同的训练策略下,实验结果表明!与传统的YOLOv5模型相比,改进模型的mAP提高了1.71%,证明改进模型在精度上优于传统的YOLOv5模型,对麦秸等小目标具有较好的检测效果,具有一定的实用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信