Image Detection of Metal Surface Defects Based on Improved YOLOX-S Network

Chao Wu, Xin Ye, Jinmao Jiang, Shanglong Xu
{"title":"Image Detection of Metal Surface Defects Based on Improved YOLOX-S Network","authors":"Chao Wu, Xin Ye, Jinmao Jiang, Shanglong Xu","doi":"10.12677/met.2022.114044","DOIUrl":null,"url":null,"abstract":"In order to realize the image detection and identification of surface defects in the manufacturing and processing of metal parts, improve the image detection accuracy of unqualified products in the process of metal parts processing assembly line, improve the automation level of equipment in the process of metal defect detection, and solve the problems of easy fatigue, low detection effi-ciency, low detection accuracy, strong subjectivity and inability to adapt to the detection of large quantities of high-quality parts in manual detection. A convolution neural network model based on improved YOLOX-S is proposed for metal surface defect image detection. The model changed the structure of the unit module and introduced the attention mechanism module based on the original YOLOX-S model, which optimized the model parameters and improved bounding box position regression loss function and confidence loss function, and then the image detection model of common defects on the metal surface was constructed and realized. The results showed that the loss of improved YOLOX-S model could converge faster, the model with bounding box position regression loss function and attention mechanism added, its mAP increased from 94.23% to 96.14%, and the accuracy improvement effect is the best, while only a small amount of reasoning time is increased. Compared with the YOLOX-S model and the model with different improved methods, it is shown that the improved model based on bounding box position regression loss function and attention mechanism has the best comprehensive recognition effect, which can meet the require-ments of metal surface defect image detection and reduce the outflow of defective products in the production process of metal parts.","PeriodicalId":30222,"journal":{"name":"Journal of Mechanical Engineering and Technology","volume":"193 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Mechanical Engineering and Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.12677/met.2022.114044","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In order to realize the image detection and identification of surface defects in the manufacturing and processing of metal parts, improve the image detection accuracy of unqualified products in the process of metal parts processing assembly line, improve the automation level of equipment in the process of metal defect detection, and solve the problems of easy fatigue, low detection effi-ciency, low detection accuracy, strong subjectivity and inability to adapt to the detection of large quantities of high-quality parts in manual detection. A convolution neural network model based on improved YOLOX-S is proposed for metal surface defect image detection. The model changed the structure of the unit module and introduced the attention mechanism module based on the original YOLOX-S model, which optimized the model parameters and improved bounding box position regression loss function and confidence loss function, and then the image detection model of common defects on the metal surface was constructed and realized. The results showed that the loss of improved YOLOX-S model could converge faster, the model with bounding box position regression loss function and attention mechanism added, its mAP increased from 94.23% to 96.14%, and the accuracy improvement effect is the best, while only a small amount of reasoning time is increased. Compared with the YOLOX-S model and the model with different improved methods, it is shown that the improved model based on bounding box position regression loss function and attention mechanism has the best comprehensive recognition effect, which can meet the require-ments of metal surface defect image detection and reduce the outflow of defective products in the production process of metal parts.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于改进YOLOX-S网络的金属表面缺陷图像检测
为了实现金属零件制造加工过程中表面缺陷的图像检测与识别,提高金属零件加工装配线过程中不合格产品的图像检测精度,提高设备在金属缺陷检测过程中的自动化水平,解决易疲劳、检测效率低、检测精度低等问题,主观性强,无法适应人工检测中大批量高质量零件的检测。提出了一种基于改进的YOLOX-S卷积神经网络模型用于金属表面缺陷图像检测。该模型改变了单元模块的结构,在原有YOLOX-S模型的基础上引入了注意机制模块,对模型参数进行了优化,改进了边界盒位置回归损失函数和置信度损失函数,构建并实现了金属表面常见缺陷的图像检测模型。结果表明,改进后的YOLOX-S模型的损失收敛速度更快,增加了边界盒位置回归损失函数和注意机制的模型,其mAP从94.23%提高到96.14%,准确率提升效果最好,而只增加了少量的推理时间。通过与YOLOX-S模型和不同改进方法的模型进行比较,表明基于边界盒位置回归损失函数和注意机制的改进模型具有最好的综合识别效果,能够满足金属表面缺陷图像检测的要求,减少金属零件生产过程中不良品的流出。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Application Research of Gearbox Fault Feature Extraction Based on Graph Filtering Theory Roundness and Straightness Error Fitting of Steel Pipe Based on MATLAB Research on Length Calculation of Hydraulic S-Type Hose Study on the Application of Thermal Spraying Technology for Bogie Frame Research on Improving the Stability of Electric Vehicle Body Based on Distributed Drive
×
引用
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