首页 | 本学科首页   官方微博 | 高级检索  
     

小样本条件下的带钢表面缺陷检测
引用本文:宋文琦,吴龙,黎尧. 小样本条件下的带钢表面缺陷检测[J]. 计算机系统应用, 2024, 33(5): 85-93
作者姓名:宋文琦  吴龙  黎尧
作者单位:福州大学 机械工程及自动化学院, 福州 350116;福州大学 机械工程及自动化学院, 福州 350116;三明学院 机电工程学院, 三明 365001
基金项目:福建省科技重大专项(2022HZ026025); 福建省自然科学基金(2022J011182)
摘    要:针对工业场景下带钢表面缺陷样本少、缺陷尺寸大小不一等问题, 提出一种适用于小样本条件下的带钢表面缺陷检测网络. 首先, 算法以YOLOv5s框架为基础, 设计一种融合注意力机制的多尺度路径聚合网络作为模型的颈部, 增强模型对缺陷目标的多尺度预测能力; 其次, 提出一种自适应解耦检测结构, 缓解小样本情况下分类和定位任务之间的矛盾; 最后, 提出一种融合Wasserstein距离的边界框回归损失函数, 提升模型对小目标缺陷的检测精度. 实验表明, 在构建的小样本带钢表面缺陷数据集上, 本文模型的检测性能优于其他小样本检测模型, 更适用于工业环境下的小样本缺陷检测任务.

关 键 词:钢材表面缺陷检测  小样本  注意力机制  多尺度路径聚合网络  解耦检测结构
收稿时间:2023-12-03
修稿时间:2023-12-29

Surface Defect Detection of Strip Steel with Few Shots
SONG Wen-Qi,WU Long,LI Yao. Surface Defect Detection of Strip Steel with Few Shots[J]. Computer Systems& Applications, 2024, 33(5): 85-93
Authors:SONG Wen-Qi  WU Long  LI Yao
Affiliation:School of Mechanical Engineering and Automation, Fuzhou University, Fuzhou 350116, China;School of Mechanical Engineering and Automation, Fuzhou University, Fuzhou 350116, China;School of Mechanical and Electrical Engineering, Sanming University, Sanming 365001, China
Abstract:To address the problems of few shots and varying sizes in the surface defects on steel strips in industrial scenarios, this study proposes a detection network for surface defects on steel strips readily applicable to few-shot situations. Specifically, the algorithm is based on the you only look once version 5 small (YOLOv5s) framework and a multi-scale path aggregation network with an attention mechanism is designed to serve as the neck of the model and thereby enhance the ability of the model to predict the defect objects on multiple scales. Then, an adaptive coord-decoupled head is proposed to alleviate the contradiction among classification and positioning tasks in few-shot scenarios. Finally, a bounding box regression loss function fused with the Wasserstein distance is presented to improve the accuracy of the model in detecting small defect objects. Experiments show that the proposed model outperforms other few-shot object detection models on the few-shot dataset of surface defects on steel strips, indicating that it is more suitable for few-shot defect detection tasks in industrial environments.
Keywords:surface defect detection of steel  few shots  attention mechanism  multi-scale path aggregation network  coord-decoupled head
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号