基于多尺度原型残差特征融合的连接器缺陷检测
Connector Defect Detection Based on Multi-Scale Prototype Residual Feature Fusion
摘要: 缺陷检测是工业生产中的重要一环,高效的缺陷检测方法能极大地提高工业流水线的生产效率。近年来,基于机器视觉的检测技术在降本增效方面取得了巨大进展,且能够进行全自动式检测,适用于各类检测场景。在工业连接器缺陷检测任务中,鉴于实际缺陷的外观变化可能很大,即缺陷区域可以有各种大小、形状和数量,针对这些问题本文提出了一种可用于工业连接器缺陷检测的基于多尺度原型残差特征融合的深度神经网络。具体来说,本文基于经典分割网络UNet进行改进,将不同尺度的特征和它们对应的原型残差特征融合,并使用自注意力机制来强化特征。同时,为了缓解实际检测环境中存在的正常样本和缺陷样本的数量不平衡问题,本文通过在正常样本上放置缺陷来扩充缺陷样本。实验表明,本文方法相比于基线方法表现出了更好的缺陷分割检测性能。
Abstract: Defect detection is an important part of industrial production, and efficient defect detection methods can greatly improve the production efficiency of industrial assembly lines. In recent years, machine vision-based detection technology has made significant progress in cost reduction and efficiency improvement. This detection technology can perform fully automatic detection and is suitable for various detection scenarios. In the task of industrial connector defect detection, considering that the appearance of actual defects may vary greatly, that is, the defect region can have various sizes, shapes, and quantities, this paper proposes a deep neural network based on multi-scale prototype residual feature fusion for industrial connector defect detection. Specifically, this article improves on the classical segmentation network UNet by fusing features of different scales with their corresponding prototype residual features and using self-attention mechanism to enhance features. At the same time, to alleviate the imbalance in the number of normal and defective samples in the actual environment, we expand the defect samples by placing defects on normal samples. Experiments have shown that our proposed method exhibits better defect segmentation performance compared to the baseline method.
文章引用:程克林. 基于多尺度原型残差特征融合的连接器缺陷检测[J]. 图像与信号处理, 2023, 12(3): 327-334. https://doi.org/10.12677/JISP.2023.123032

参考文献

[1] 罗东亮, 蔡雨萱, 杨子豪, 章哲彦, 周瑜, 白翔. 工业缺陷检测深度学习方法综述[J]. 中国科学: 信息科学, 2022, 52(6): 1002-1039.
[2] Ren, Z., Fang, F., Yan, N., et al. (2022) State of the Art in Defect Detection Based on Machine Vision. International Journal of Precision Engineering and Manufacturing-Green Technology, 9, 661-691.
[Google Scholar] [CrossRef
[3] Bergmann, P., Fauser, M., Sattlegger, D., et al. (2020) Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddings. Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, 13-19 June 2020, 4183-4192.
[Google Scholar] [CrossRef
[4] Roth, K., Pemula, L., Zepeda, J., et al. (2022) Towards Total Recall in Industrial Anomaly Detection. Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, 18-24 June 2022, 14318-14328.
[Google Scholar] [CrossRef
[5] Wu, K., Zhu, L., Shi, W., et al. (2022) Self-Attention Memory-Augmented Wavelet-CNN for Anomaly Detection. IEEE Transactions on Circuits and Systems for Video Technology, 33, 1374-1385.
[Google Scholar] [CrossRef
[6] Augustauskas, R. and Lipnickas, A. (2020) Improved Pixel-Level Pavement-Defect Segmentation Using a Deep Autoencoder. Sensors, 20, 2557.
[Google Scholar] [CrossRef] [PubMed]
[7] 李原, 李燕君, 刘进超, 范衠, 王庆林. 基于改进Res-UNet网络的钢铁表面缺陷图像分割研究[J]. 电子与信息学报, 2022, 44(5): 1513-1520.
[8] 郑明明, 刘胜全, 马前. 基于可变形卷积融合双注意力机制的缺陷检测方法[J]. 东北师大学报(自然科学版), 2023, 55(2): 52-61.
[Google Scholar] [CrossRef
[9] Deng, J., Dong, W., Socher, R., et al. (2009) ImageNet: A Large-Scale Hierarchical Image Database. 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, 20-25 June 2009, 248-255.
[Google Scholar] [CrossRef
[10] Hu, J., Shen, L. and Sun, G. (2018) Squeeze-and-Excitation Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, 18-23 June 2018, 7132-7141.
[Google Scholar] [CrossRef
[11] Girshick, R. (2015) Fast R-CNN. Proceedings of the IEEE International Conference on Computer Vision, Santiago, 7-13 December 2015, 1440-1448.
[Google Scholar] [CrossRef
[12] Lin, T.Y., Goyal, P., Girshick, R., et al. (2017) Focal Loss for Dense Object Detection. Proceedings of the IEEE International Conference on Computer Vision, Venice, 22-29 October 2017, 2980-2988.
[Google Scholar] [CrossRef
[13] Ronneberger, O., Fischer, P. and Brox, T. (2015) U-Net: Convolutional Networks for Biomedical Image Segmentation. In: Navab, N., Hornegger, J., Wells, W., Frangi, A., Eds., Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015. Springer International Publishing, Cham, 234-241.
[Google Scholar] [CrossRef