现代制造工程 ›› 2026, Vol. 547 ›› Issue (4): 91-102.doi: 10.16731/j.cnki.1671-3133.2026.04.012

• 仪器仪表/检测/监控 • 上一篇    下一篇

基于DCE-YOLO算法的复杂背景下钢材表面缺陷检测研究*

刘宗, 胡伟   

  1. 河南理工大学电气工程与自动化学院,焦作 454150
  • 收稿日期:2025-08-20 发布日期:2026-05-07
  • 通讯作者: 胡伟,博士,副教授,主要研究方向为模式识别与图像处理。E-mail:453795166@qq.com
  • 作者简介:刘宗,硕士研究生,主要研究方向为模式识别与图像处理。E-mail:3115085964@qq.com
  • 基金资助:
    *国家自然科学基金项目(U1804147)

Research on steel surface defect detection in complex backgrounds based on DCE-YOLO algorithm

LIU Zong, HU Wei   

  1. School of Electrical Engineering and Automation,Henan Polytechnic University,Jiaozuo 454150,China
  • Received:2025-08-20 Published:2026-05-07

摘要: 在钢材表面缺陷检测领域,因钢材表面缺陷存在尺度多变且背景复杂的情况,在检测时常出现漏检、误检以及检测精度不佳等问题。为解决上述问题,创新性地提出了一种钢材表面缺陷检测算法DCE-YOLO。首先,提出一种双路径高效下采样,细节保留分支与特征聚焦分支共同作用,提升模型对目标位置的判断能力;其次,设计一种多尺度通道空间自注意力机制,使主干网络能够更高效地提取关键信息;最后,构建了一种基于Sobel算子的边缘信息增强模块,并将其嵌入到C2f模块中,使模型更好地捕捉边缘和纹理。在NEU-DET数据集上实验结果表明,相较于基准模型,所提的DCE-YOLO模型参数量为2.91×106,mAP@0.5和mAP@0.5:0.95分别提升了5.1 %和3.1 %。此外,在GC10-DET数据集上的实验结果证实了该方法具备良好的鲁棒性。

关键词: 钢材表面缺陷, 双路径高效下采样, 自注意力机制, 边缘信息增强

Abstract: In the field of surface defect detection of steel materials,due to the variable scale and complex background of surface defects,problems such as missed detections,false detections and poor detection accuracy are often occur during detection. To address these issues,an innovative steel surface defect detection algorithm,named DCE-YOLO,is proposed. Firstly,a dual-path efficient downsampling is introduced,where the detail retention branch and the feature focusing branch work together to enhance the model′s ability to determine the target location. Secondly,a multi-scale channel spatial self-attention mechanism is designed to enable the backbone network to extract key information more efficiently. Finally,an edge information enhancement module based on Sobel operator is constructed and embedded into C2f block to improve the ability of the model for capturing edges and textures. Experimental results on the NEU-DET dataset show that compared with the baseline model,the proposed DCE-YOLO model,with 2.91×106 parameters,improves mAP@0.5 and mAP@0.5:0.95 by 5.1 % and 3.1 % respectively. Additionally,the experimental results on the GC10-DET dataset confirm the robustness of this method.

Key words: steel surface defects, dual-path efficient downsampling, self-attention mechanism, edge information enhancement

中图分类号: 

版权所有 © 《现代制造工程》编辑部 
地址:北京市东城区东四块玉南街28号 邮编:100061 电话:010-67126028 电子信箱:2645173083@qq.com
本系统由北京玛格泰克科技发展有限公司设计开发 技术支持:support@magtech.com.cn