基于可变形卷积和自适应空间特征融合的硬币表面缺陷检测算法  被引量:5

Coin surface defect detection algorithm based on deformable convolution and adaptive spatial feature fusion

在线阅读下载全文

作  者:王品学 张绍兵 成苗 何莲 秦小山 WANG Pinxue;ZHANG Shaobing;CHENG Miao;HE Lian;QIN Xiaoshan(Chengdu Institute of Computer Application,Chinese Academy of Sciences,Chengdu Sichuan 610041,China;School of Computer Science and Technology,University of Chinese Academy of Sciences,Beijing 100049,China;Shenzhen CBPM-KEXIN Banking Technology Company Limited,Shenzhen Guangdong 518206,China)

机构地区:[1]中国科学院成都计算机应用研究所,成都610041 [2]中国科学院大学计算机科学与技术学院,北京100049 [3]深圳市中钞科信金融科技有限公司,深圳518206

出  处:《计算机应用》2022年第2期638-645,共8页journal of Computer Applications

摘  要:针对硬币表面缺陷较小、形状多变且易与背景混淆而不易检出的问题,改进YOLOv3算法并提出基于可变形卷积和自适应空间特征融合的硬币表面缺陷检测算法DCA-YOLO。首先,由于缺陷形状的多变设计了3种在主干网络中不同位置添加可变形卷积模块的网络结构,通过卷积学习偏移量和调节参数来提高缺陷的提取能力;然后,使用自适应空间特征融合网络学习权重参数来调整不同尺度特征图中各像素点的贡献度以更好地适应不同尺度的目标;最后,改进先验锚框比例,动态调节类别权重,优化并对比网络性能,从而提出在主干网络输出特征进行多尺度融合的上采样前增加可变形卷积的模型网络。实验结果表明,在硬币缺陷数据集上,DCA-YOLO算法检测平均精度均值(mAP)接近于Faster-RCNN,达到了92.8%;而相较于YOLOv3,所提算法的检测速度基本持平,在检测mAP上提高了3.3个百分点,F1分数提升了3.2个百分点。Concerning the problem that the surface defects of the coin are small,variable in shape,easily confused with the background and difficult to be detected,an improved algorithm of coin surface defect detection named DCA-YOLO(Deformable Convolution and Adaptive space feature fusion-YOLO)was proposed.First of all,due to the different shapes of defects,three network structures with deformable convolution modules added at different positions in the backbone network were designed,and the ability to extract defects was improved through convolution learning offset and adjusting parameters.Then,the adaptive spatial feature fusion network was used to learn the weight parameters to better adapt to targets with different scales by adjusting the contribution of each pixel in the feature maps of different scales.Finally,the anchor ratio was adjusted,the category weights were dynamically adjusted,the comparison network performance was optimized,thus,a model network to add deformable convolution before upsampling for multi-scale fusion of the output features of the backbone network was proposed.Experimental results show that on the coin defect dataset,the detection mAP(mean Average Precision)of DCA-YOLO algorithm reaches 92.8%,which is close to that of Faster-RCNN(Faster Region-based Convolutional Neural Network);compared with YOLOv3,the proposed algorithm has the detection speed basically the same with 3.3 percentage points improvement on detection mAP,and 3.2 percentage points increase on F1-score.

关 键 词:YOLOv3算法 硬币 表面缺陷检测 可变形卷积 自适应空间特征融合 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象