首页|期刊导航|计算机工程与应用|基于DFD-YOLOv11n的钢材装备表面缺陷检测算法研究

基于DFD-YOLOv11n的钢材装备表面缺陷检测算法研究OA

Research on Surface Defect Detection Algorithm of Steel Equipment Based on DFD-YOLOv11n

中文摘要英文摘要

针对钢材装备表面缺陷检测中存在特征模糊、多尺度表达不足以及检测精度受限等问题,提出一种基于YOLOv11n架构的轻量级改进算法DFD-YOLOv11n.该算法通过三重结构创新实现性能优化:一是引入动态蛇形卷积改进特征提取部分的C3K2模块,通过自适应卷积核变形策略显著增强对细长弯曲特征的捕捉能力;二是设计了特征聚焦扩散金字塔网络,通过多尺度特征的双向融合机制提升上下文信息利用率;三是设计了动态任务对齐检测头,通过分类与定位分支的协同优化策略实现检测性能提升.实验数据表明,改进后的算法在NEU-DET数据集上的mAP达到77.1%,较YOLOv11n模型提升6.5个百分点,检测精度提高6.8个百分点.在保持轻量级特性方面,模型参数量(2.74×106)和计算复杂度(9.4×109)控制在前沿轻量化模型范畴,同时实现116 FPS的实时检测速度.DFD-YOLOv11n在检测精度与推理速度之间达到最优平衡,其综合性能指标为工业级表面缺陷检测提供了新的解决方案.

To address the issues of fuzzy features,insufficient multi-scale expression and limited detection accuracy in surface defect detection of steel equipment,a lightweight improved algorithm DFD-YOLOv11n based on YOLOv11n architec-ture is proposed.The algorithm achieves performance optimization through triple structure innovation.Firstly,the C3K2 module of dynamic snake convolution is introduced to improve feature extraction,and the capturing ability of elongated and curved features is significantly enhanced by adaptive convolution kernel deformation strategy.Secondly,the feature focusing diffusion pyramid network is designed to improve the utilization of context information through the bidirectional fusion mechanism of multi-scale features.Thirdly,the dynamic task alignment detection head is designed to improve the detection performance through the cooperative optimization strategy of classification and location branches.The experi-mental data show that the mAP of the improved algorithm on the NEU-DET dataset reaches 77.1%,which is 6.5 percent-age points higher than that of the YOLOv11n model,and the detection accuracy is 6.8 percentage points higher.In terms of maintaining lightweight characteristics,the number of model parameters(2.74 × 106)and computational complexity(9.4× 109)are controlled in the category of cutting-edge lightweight models,while achieving a real-time detection speed of 116 frames per second(FPS).The DFD-YOLOv11n achieves an optimal balance between detection accuracy and inference speed,and its comprehensive performance indicators provide a new solution for industrial-grade surface defect detection.

雷富强;马刘文;关鹏;张巍;任海英;郭玉慧;王培

杭州电子科技大学计算机学院,杭州 310018杭州电子科技大学机械工程学院,杭州 310018杭州电子科技大学计算机学院,杭州 310018杭州电子科技大学计算机学院,杭州 310018杭州电子科技大学计算机学院,杭州 310018北京京航计算通讯研究所,北京 430415中国人民解放军国防大学 联合作战学院,石家庄 050084

信息技术与安全科学

缺陷检测YOLOv11n动态蛇形卷积(DSC)特征聚焦扩散金字塔网络(FFDPN)动态任务对齐检测头(DTADH)

defect detectionYOLOv11dynamic snake convolution(DSC)feature focusing diffusion pyramid network(FFDPN)dynamic task alignment detection head(DTADH)

《计算机工程与应用》 2026 (2)

92-102,11

10.3778/j.issn.1002-8331.2504-0019

评论