Journal of Computer Applications ›› 2019, Vol. 39 ›› Issue (7): 2103-2108.DOI: 10.11772/j.issn.1001-9081.2018112247

• Virtual reality and multimedia computing • Previous Articles     Next Articles

Surface scratch recognition method based on deep neural network

LI Wenjun1,2, CHEN Bin2,3, LI Jianming1,2, QIAN Jide1,2   

  1. 1. Chengdu Institute of Computer Application, Chinese Academy of Sciences, Chengdu Sichuan 610041, China;
    2. University of Chinese Academy of Sciences, Beijing 100049, China;
    3. Guangzhou Electronic Technology Company Limited of Chinese Academy of Sciences, Guangzhou Guangdong 510070, China
  • Received:2018-11-09 Revised:2019-01-25 Online:2019-07-10 Published:2019-07-15
  • Supported by:

    This work is partially supported by the Major Scientific and Technological Project of Guangdong Province (2017B030306017), the Industry-University-Research Cooperation Project of Guangdong Province (2017B090901040).

基于深度神经网络的表面划痕识别方法

李文俊1,2, 陈斌2,3, 李建明1,2, 钱基德1,2   

  1. 1. 中国科学院 成都计算机应用研究所, 成都 610041;
    2. 中国科学院大学, 北京 100049;
    3. 中国科学院广州电子技术有限公司, 广州 510070
  • 通讯作者: 陈斌
  • 作者简介:李文俊(1994-),男,湖南岳阳人,硕士研究生,CCF会员,主要研究方向:计算机视觉、深度学习;陈斌(1970-),男,四川广汉人,研究员,博士生导师,博士,主要研究方向:实时工业图像分析、字符识别、智能视觉控制;李建明(1989-),男,四川南部人,博士研究生,主要研究方向:目标识别、深度学习;钱基德(1988-),男,四川大英人,博士,主要研究方向:机器视觉、深度学习。
  • 基金资助:

    广东省重大科技专项(2017B030306017);广东省产学研合作项目(2017B090901040)。

Abstract:

In order to achieve robust, accurate and real-time recognition of surface scratches under complex texture background with uneven brightness, a surface scratch recognition method based on deep neural network was proposed. The deep neural network for surface scratch recognition consisted of a style transfer network and a focus Convolutional Neural Network (CNN). The style transfer network was used to preprocess surface scratches under complex background with uneven brightness. The style transfer networks included a feedforward conversion network and a loss network. Firstly, the style features of uniform brightness template and the perceptual features of the detected image were extracted through the loss network, and the feedforward conversion network was trained offline to obtain the optimal parameter values of network. Then, the images with uniform brightness and uniform style were generated by style transfer network. Finally, the proposed focus convolutional neural network based on focus structure was used to extract and recognize scratch features in the generated image. Taking metal surface with light change as an example, the scratch recognition experiment was carried out. The experimental results show that compared with traditional image processing methods requiring artificial designed features and traditional deep convolutional neural network, the false negative rate of scratch detection is as low as 8.54% with faster convergence speed and smoother convergence curve, and the better detection results can be obtained under different depth models with accuracy increased of about 2%. The style transfer network can retain complete scratch features with the problem of uneven brightness solved, thus improving the accuracy of scratch recognition, while the focus convolutional neural network can achieve robust, accurate and real-time recognition of scratches, which greatly reduces false negative rate and false positive rate of scratches.

Key words: uneven brightness, complex texture background, surface scratch recognition, style transfer network, Convolutional Neural Network (CNN)

摘要:

为实现亮度不均的复杂纹理背景下表面划痕的鲁棒、精确、实时识别,提出一种基于深度神经网络的表面划痕识别方法。用于表面划痕识别的深度神经网络由风格迁移网络和聚焦卷积神经网络(CNN)构成,其中风格迁移网络针对亮度不均的复杂背景下的表面划痕进行预处理,风格迁移网络包括前馈转换网络和损失网络,首先通过损失网络提取亮度均匀模板的风格特征和检测图像的知觉特征,对前馈转换网络进行离线训练,获取网络最优参数值,最终使风格迁移网络生成亮度均匀且风格一致的图像,然后,利用所提出的基于聚焦结构的聚焦卷积神经网络对生成图像中的划痕特征进行提取并识别。以光照变化的金属表面为例,进行划痕识别实验,实验结果表明:与需要人工设计特征的传统图像处理方法及传统深度卷积神经网络相比,划痕漏报率低至8.54%,并且收敛速度更快,收敛曲线更加平滑,在不同的深度模型下均可取得较好的检测效果,准确率提升2%左右。风格迁移网络能够保留完整划痕特征的同时有效解决亮度不均的问题,从而提高划痕识别精度;同时聚焦卷积神经网络能够实现对划痕的鲁棒、精确、实时识别,大幅度降低划痕漏报率和误报率。

关键词: 亮度不均, 复杂纹理背景, 表面划痕识别, 风格迁移网络, 卷积神经网络

CLC Number: