Focus Generator with Score Classification on Fabric Defect Detection

Fabric defect detection plays an important role in the production of fabrics. Thanks to deep learning and large-scale datasets, popular object detection tasks have made great progress. RetinaNet has been widely used in object detection tasks in various fields, such as face detection, due to its flexibility and operability. It's high accuracy and detection results are derived from datasets with rich features. So limited by the small-scale fabric defect dataset, RetinaNet is difficult to apply to fabric defect detection task. In this paper, we propose an effective neural network approach to solve the problem of small-scale fabric dataset and apply RetinaNet to this task. To overcome the insufficient features because of the small-scale dataset, we first propose a generative model to add Gaussian noise on latent space, called focus generator, which can be controlled with defect instances to generate more data. Then we add a classification model to limit influence produced by the focus generator, called score classification. Finally, we merge the focus generator and score classification with an improved RetinaNet to achieve fabric defect detection, therefore, we name our model FSR. By the way, the operations of adding noise are different on the steps of training and testing. The experimental result shows that our proposed method can achieve better performance comparing to our baseline RetinaNet and finally achieve accuracy of 83.4% on our small-scale fabric defect dataset.

[2]  Ross B. Girshick,et al.  Mask R-CNN , 2017, 1703.06870.

[3]  Grantham Pang,et al.  Fabric inspection based on the Elo rating method , 2016, Pattern Recognit..

[4]  Ross B. Girshick,et al.  Focal Loss for Dense Object Detection , 2017, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[5]  Bogdan Raducanu,et al.  Invertible Conditional GANs for image editing , 2016, ArXiv.

[6]  Wei Liu,et al.  SSD: Single Shot MultiBox Detector , 2015, ECCV.

[7]  Mohand Saïd Allili,et al.  A Learning-Based Approach for Automatic Defect Detection in Textile Images , 2015 .

[8]  Yilong Yin,et al.  Comprehensive assessment of non-uniform illumination for 3D heightmap reconstruction in outdoor environments , 2018, Comput. Ind..

[9]  Kin-Man Lam,et al.  Illumination-insensitive texture discrimination based on illumination compensation and enhancement , 2014, Inf. Sci..

[10]  Ali Farhadi,et al.  You Only Look Once: Unified, Real-Time Object Detection , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[11]  Kaiming He,et al.  Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[12]  Kaiming He,et al.  Focal Loss for Dense Object Detection , 2017, 2017 IEEE International Conference on Computer Vision (ICCV).

[13]  Cao Junjie,et al.  Fabric defects detection using adaptive wavelets , 2014 .

[14]  Jung-Woo Ha,et al.  StarGAN: Unified Generative Adversarial Networks for Multi-domain Image-to-Image Translation , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[15]  Kaiming He,et al.  Feature Pyramid Networks for Object Detection , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[16]  Yoshua Bengio,et al.  Generative Adversarial Nets , 2014, NIPS.

[17]  Muhammed Fatih Talu,et al.  Fabric defect detection methods for circular knitting machines , 2015, 2015 23nd Signal Processing and Communications Applications Conference (SIU).

[18]  Christian Ledig,et al.  Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).