Usage of an improved YOLOv5 for steel surface defect detection

IF 2.4 4区 材料科学 Q2 MATERIALS SCIENCE, CHARACTERIZATION & TESTING
Huihui Wen, Ying Li, Yu Wang, Haoyang Wang, Haolin Li, Hongye Zhang, Zhanwei Liu
{"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}
引用次数: 0

Abstract

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.
使用改进型 YOLOv5 检测钢材表面缺陷
单级 YOLOv5 钢材表面缺陷检测存在运行速度慢、小目标缺陷位置和语义信息丢失、缺陷特征提取不足等问题。本研究提出了一种改进 YOLOv5 的缺陷检测算法来解决这些问题。所提出的算法使用由三个新模块构建的细颈层代替了 YOLOv5s 中的颈层,实现了轻量级网络模型。此外,还引入了空间感知自注意机制,在不限制输入大小的情况下增强了初始卷积层的特征提取能力。此外,还加入了改进的 Atrous 空间金字塔池化技术,以扩展感知领域,捕捉多尺度的上下文信息,同时防止局部信息丢失,增强远距离信息的相关性。实验结果表明,改进后的 YOLOv5 算法缩小了模型体积,检测精度和速度明显高于传统算法,能够快速准确地检测出钢材表面缺陷。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
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.
×
引用
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学术官方微信