使用改进型 YOLOv5 检测钢材表面缺陷

IF 2.4 4区 材料科学 Q2 MATERIALS SCIENCE, CHARACTERIZATION & TESTING Materials Testing Pub Date : 2024-03-05 DOI:10.1515/mt-2023-0161
Huihui Wen, Ying Li, Yu Wang, Haoyang Wang, Haolin Li, Hongye Zhang, Zhanwei Liu
{"title":"使用改进型 YOLOv5 检测钢材表面缺陷","authors":"Huihui Wen, Ying Li, Yu Wang, Haoyang Wang, Haolin Li, Hongye Zhang, Zhanwei Liu","doi":"10.1515/mt-2023-0161","DOIUrl":null,"url":null,"abstract":"\n The one-stage YOLOv5 steel surface defect detection has issues such as slow operation speed, loss of defect location and semantic information of small targets, and inadequate extraction of defect features. This study proposed a defect detection algorithm with improved YOLOv5 to solve these issues. The proposed algorithm used the slim-neck layer built by three new modules instead of the neck layer in YOLOv5s to achieve a lightweight network model. In addition, the spatial perception self-attention mechanism was introduced to enhance the feature extraction capability of the initial convolutional layer without limiting the input size. The improved Atrous Spatial Pyramid Pooling was added to expand the perceptual field and capture multiscale contextual information while preventing local information loss and enhancing the relevance of long-range information. The experimental results showed that the improved YOLOv5 algorithm has a reduced model volume, significantly higher detection accuracy and speed than the traditional algorithm, and the ability to detect steel surface defects quickly and accurately.","PeriodicalId":18231,"journal":{"name":"Materials Testing","volume":null,"pages":null},"PeriodicalIF":2.4000,"publicationDate":"2024-03-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Usage of an improved YOLOv5 for steel surface defect detection\",\"authors\":\"Huihui Wen, Ying Li, Yu Wang, Haoyang Wang, Haolin Li, Hongye Zhang, Zhanwei Liu\",\"doi\":\"10.1515/mt-2023-0161\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"\\n The one-stage YOLOv5 steel surface defect detection has issues such as slow operation speed, loss of defect location and semantic information of small targets, and inadequate extraction of defect features. This study proposed a defect detection algorithm with improved YOLOv5 to solve these issues. The proposed algorithm used the slim-neck layer built by three new modules instead of the neck layer in YOLOv5s to achieve a lightweight network model. In addition, the spatial perception self-attention mechanism was introduced to enhance the feature extraction capability of the initial convolutional layer without limiting the input size. The improved Atrous Spatial Pyramid Pooling was added to expand the perceptual field and capture multiscale contextual information while preventing local information loss and enhancing the relevance of long-range information. The experimental results showed that the improved YOLOv5 algorithm has a reduced model volume, significantly higher detection accuracy and speed than the traditional algorithm, and the ability to detect steel surface defects quickly and accurately.\",\"PeriodicalId\":18231,\"journal\":{\"name\":\"Materials Testing\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":2.4000,\"publicationDate\":\"2024-03-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Materials Testing\",\"FirstCategoryId\":\"88\",\"ListUrlMain\":\"https://doi.org/10.1515/mt-2023-0161\",\"RegionNum\":4,\"RegionCategory\":\"材料科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"MATERIALS SCIENCE, CHARACTERIZATION & TESTING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Materials Testing","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.1515/mt-2023-0161","RegionNum":4,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, CHARACTERIZATION & TESTING","Score":null,"Total":0}
引用次数: 0

摘要

单级 YOLOv5 钢材表面缺陷检测存在运行速度慢、小目标缺陷位置和语义信息丢失、缺陷特征提取不足等问题。本研究提出了一种改进 YOLOv5 的缺陷检测算法来解决这些问题。所提出的算法使用由三个新模块构建的细颈层代替了 YOLOv5s 中的颈层,实现了轻量级网络模型。此外,还引入了空间感知自注意机制,在不限制输入大小的情况下增强了初始卷积层的特征提取能力。此外,还加入了改进的 Atrous 空间金字塔池化技术,以扩展感知领域,捕捉多尺度的上下文信息,同时防止局部信息丢失,增强远距离信息的相关性。实验结果表明,改进后的 YOLOv5 算法缩小了模型体积,检测精度和速度明显高于传统算法,能够快速准确地检测出钢材表面缺陷。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Usage of an improved YOLOv5 for steel surface defect detection
The one-stage YOLOv5 steel surface defect detection has issues such as slow operation speed, loss of defect location and semantic information of small targets, and inadequate extraction of defect features. This study proposed a defect detection algorithm with improved YOLOv5 to solve these issues. The proposed algorithm used the slim-neck layer built by three new modules instead of the neck layer in YOLOv5s to achieve a lightweight network model. In addition, the spatial perception self-attention mechanism was introduced to enhance the feature extraction capability of the initial convolutional layer without limiting the input size. The improved Atrous Spatial Pyramid Pooling was added to expand the perceptual field and capture multiscale contextual information while preventing local information loss and enhancing the relevance of long-range information. The experimental results showed that the improved YOLOv5 algorithm has a reduced model volume, significantly higher detection accuracy and speed than the traditional algorithm, and the ability to detect steel surface defects quickly and accurately.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Materials Testing
Materials Testing 工程技术-材料科学:表征与测试
CiteScore
4.20
自引率
36.00%
发文量
165
审稿时长
4-8 weeks
期刊介绍: Materials Testing is a SCI-listed English language journal dealing with all aspects of material and component testing with a special focus on transfer between laboratory research into industrial application. The journal provides first-hand information on non-destructive, destructive, optical, physical and chemical test procedures. It contains exclusive articles which are peer-reviewed applying respectively high international quality criterions.
期刊最新文献
Enhancing the performance of a additive manufactured battery holder using a coupled artificial neural network with a hybrid flood algorithm and water wave algorithm Microstructural, mechanical and nondestructive characterization of X60 grade steel pipes welded by different processes Microstructural characteristics and mechanical properties of 3D printed Kevlar fibre reinforced Onyx composite Experimental investigations and material modeling of an elastomer jaw coupling Numerical analysis of cathodic protection of a Q355ND frame in a shallow water subsea Christmas tree
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1