A Generative Adversarial Network Based Framework for Unsupervised Visual Surface Inspection

Visual surface inspection is a challenging task due to the highly inconsistent appearance of the target surfaces and the abnormal regions. Most of the state-of-the-art methods are highly dependent on the labelled training samples, which are difficult to collect in practical industrial applications. To address this problem, we propose a generative adversarial network based framework for unsupervised surface inspection. The generative adversarial network is trained to generate the fake images analogous to the normal surface images. It implies that a well-trained GAN indeed learns a good representation of the normal surface images in a latent feature space. And consequently, the discriminator of GAN can serve as a naturally one-class classifier. We use the first three conventional layer of the discriminator as the feature extractor, whose response is sensitive to the abnormal regions. Particularly, a multi-scale fusion strategy is adopted to fuse the responses of the three convolution layers and thus improve the segmentation performance of abnormal detection. Various experimental results demonstrate the effectiveness of our proposed method.

[1]  Stan Sclaroff,et al.  Saliency Detection: A Boolean Map Approach , 2013, 2013 IEEE International Conference on Computer Vision.

[2]  N. Otsu A threshold selection method from gray level histograms , 1979 .

[3]  Paulo Lobato Correia,et al.  CrackIT — An image processing toolbox for crack detection and characterization , 2014, 2014 IEEE International Conference on Image Processing (ICIP).

[4]  Soumith Chintala,et al.  Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks , 2015, ICLR.

[5]  Navdeep Jaitly,et al.  Adversarial Autoencoders , 2015, ArXiv.

[6]  Olli Silvén,et al.  Wood Inspection With Non-Supervised Clustering , 2000 .

[7]  Kay Chen Tan,et al.  A Generic Deep-Learning-Based Approach for Automated Surface Inspection , 2018, IEEE Transactions on Cybernetics.

[8]  RajasegararSutharshan,et al.  High-dimensional and large-scale anomaly detection using a linear one-class SVM with deep learning , 2016 .

[9]  W. Weny,et al.  Verifying Edges for Visual Inspection Purposes , 2007 .

[10]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[11]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[12]  Antti J. Koivo,et al.  Hierarchical classification of surface defects on dusty wood boards , 1994, Pattern Recognit. Lett..

[13]  Sang Joon Kim,et al.  A Mathematical Theory of Communication , 2006 .

[14]  Jonathan G. Campbell,et al.  Automatic visual inspection of woven textiles using a two-stage defect detector , 1998 .

[15]  Simon Osindero,et al.  Conditional Generative Adversarial Nets , 2014, ArXiv.

[16]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[17]  Fang Gong,et al.  Inspection of surface defects in copper strip using multivariate statistical approach and SVM , 2012, Int. J. Comput. Appl. Technol..

[18]  Horst Bischof,et al.  Using covariance matrices for unsupervised texture segmentation , 2008, 2008 19th International Conference on Pattern Recognition.

[19]  Ian Goodfellow,et al.  Generative Adversarial Networks (GANs) , 2020, Generative Adversarial Networks for Image Generation.

[20]  Christopher Leckie,et al.  High-dimensional and large-scale anomaly detection using a linear one-class SVM with deep learning , 2016, Pattern Recognit..

[21]  Yoshua Bengio,et al.  Generative Adversarial Networks , 2014, ArXiv.

[22]  Martín Abadi,et al.  TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems , 2016, ArXiv.