模式识别与人工智能2024,Vol.37Issue(8) :692-702.DOI:10.16451/j.cnki.issn1003-6059.202408003

基于改进RetinaNet的轻量化钢材表面缺陷检测算法

Lightweight Steel Surface Defect Detection Algorithm Based on Improved RetinaNet

王伟家 张宇 王京华 徐勇
模式识别与人工智能2024,Vol.37Issue(8) :692-702.DOI:10.16451/j.cnki.issn1003-6059.202408003

基于改进RetinaNet的轻量化钢材表面缺陷检测算法

Lightweight Steel Surface Defect Detection Algorithm Based on Improved RetinaNet

王伟家 1张宇 2王京华 1徐勇1
扫码查看

作者信息

  • 1. 哈尔滨工业大学(深圳)计算机科学与技术学院 深圳 518055
  • 2. 河钢数字技术股份有限公司智能装备事业部 石家庄 053099
  • 折叠

摘要

相对实际应用需求而言,现有的钢材表面缺陷检测算法存在检测速度较慢、准确率较低等问题.因此,文中提出基于改进RetinaNet的轻量化钢材表面缺陷检测算法.首先,将原有的骨干网络替换为轻量化网络,引入跨阶段局部结构,实现梯度的有效传播和轻量化.然后,采用深度可分离卷积替换传统卷积层,进一步降低参数量,提高检测速度.为了弥补轻量化导致的算法精度下降问题,提出基于跨阶段局部结构的空间金字塔池化机制,融合不同尺度的特征,有效提升算法的检测精度.在NEU-DET数据集和自建的HBIS数据集上的实验表明,相比已有的缺陷检测算法,文中算法在精度更高的同时,达到更快的检测速度,相应的软硬件系统满足生产线的实时在线检测要求并已上线运行.

Abstract

For the requirement of the practical application,the existing defect detection algorithms suffer from the problems of slow detection speed and low detection accuracy.To address these issues,a lightweight steel surface defect detection algorithm based on improved RetinaNet is proposed.Firstly,the original backbone network is replaced by a lightweight network,and a cross-stage-partial structure is introduced to achieve effective propagation and lightweighting of gradients.Then,depth-separable convolution is employed to replace the traditional convolutional layer to further reduce the number of parameters and improve the detection speed.To compensate for the decrease in model accuracy caused by lightweighting,a spatial pyramid pooling mechanism based on the cross-stage partial structure is designed.The detection accuracy of the model is effectively improved by feature fusion at different scales.Finally,experiments on NEU-DET dataset and the self-built HBIS dataset demonstrate the proposed algorithm reaches a faster detection speed and higher accuracy.Moreover,the corresponding hardware and software system meets the real-time online detection requirements of the production line and it has been put into service.

关键词

轻量化建模/目标检测/跨阶段局部结构/钢材表面缺陷检测

Key words

Lightweight Modeling/Object Detection/Cross-Stage Partial Structure/Steel Surface De-fect Detection

引用本文复制引用

出版年

2024
模式识别与人工智能
中国自动化学会,国家智能计算机研究开发中心,中国科学院合肥智能机械研究所

模式识别与人工智能

CSTPCDCSCD北大核心
影响因子:0.954
ISSN:1003-6059
段落导航相关论文