Fabric Defect Detection Method Using SA-Pix2pix Network and Transfer Learning
Source abstract
Abstract
This paper proposes a fabric defect detection algorithm based on the SA-Pix2pix network and transfer learning to address the issue of insufficient accuracy in detecting complex pattern fabric defects in scenarios with limited sample data. Its primary contribution lies in treating defects as disruptions to the fabric’s texture. It leverages a generative adversarial network to reconstruct defective images, restoring them to images of normal fabric texture. Subsequently, the reconstituted images are subjected to dissimilarity calculations against defective images, leading to image segmentation for the purpose of defect detection. This approach addresses the issues of poor defect image reconstruction accuracy due to the limited ability of remote dependency modeling within the generator’s convolutional neural network. It also tackles deficiencies in the generative adversarial network’s loss function in handling image details. To enhance the structure and loss function of the generative adversarial network, it introduces self-attention mechanisms, L1 loss, and an improved structural loss, thus mitigating the problems of low defect image reconstruction accuracy and insufficient image detail handling by the network. To counteract the issue of declining model training accuracy in the face of sparse complex fabric defect samples, a channel-wise domain transfer learning approach is introduced. This approach constrains the training of the target network through feature distribution, thereby overcoming the problem of target network overfitting caused by limited sample data. The study employs three methods to experimentally compare and investigate five distinct complex pattern fabric defects. The results demonstrate that, when compared to two other defect detection methods, the approach advocated in this paper exhibits superior detection accuracy in scenarios with limited sample data.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Industrial Vision Systems and Defect Detection · Integrated Circuits and Semiconductor Failure Analysis · Image Processing Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Mechanical Engineering and Automation, Wuhan Textile University, Wuhan 430200, China
Hubei Digital Textile Equipment Key Laboratory, Wuhan 430200, China
Funding
Digital textile equipment Key laboratory
References (48)
Show source-provided references
1. Computer-vision-based fabric defect detection: A survey10.1109/TIE.1930.896476 ↗
2. Chen, J., and Jain, A.K. (1988, January 8–12). A structural approach to identify defects in textured images. Proceedings of the 1988 IEEE International Conference on Systems, Man, and Cybernetics, Beijing, China.
3. Wavelet based methods on patterned fabric defect detection10.1016/j.patcog.2004.07.009 ↗
4. Fabric defect detection based on multi-scale wavelet transform and Gaussian mixture model method10.1080/00405000.2014.929790 ↗
5. Defect detection in magnetic tile images based on stationary wavelet transform10.1016/j.ndteint.2016.04.006 ↗
6. Defect detection in textured materials using Gabor filters10.1109/28.993164 ↗
7. Fabric defect detection based on GLCM and Gabor filter: A comparison10.1016/j.ijleo.2013.05.004 ↗
8. Fabric defect detection by Fourier analysis10.1109/28.871274 ↗
9. Application of Gaussian mixture model on defect detection of print fabric
10. Zong, B., Song, Q., Min, M.R., Cheng, W., Lumezanu, C., Cho, D., and Chen, H. (May, January 30). Deep autoencoding gaussian mixture model for unsupervised anomaly detection. Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada.
11. An efficient method for texture defect detection: Sub-band domain co-occurrence matrices10.1016/S0262-8856(99)00062-1 ↗
12. A defect detection method for unpatterned fabric based on multidirectional binary patterns and the gray-level co-occurrence matrix10.1177/0040517519879904 ↗
13. Girshick, R. (2015, January 7–13). Fast R-CNN. Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, Chile.10.1109/ICCV.2015.169 ↗
14. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
15. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks10.1109/TPAMI.2016.2577031 ↗
16. Improved faster R-CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimization10.1016/j.compind.2021.103551 ↗
17. Automatic Fabric Defect Detection Based on an Improved YOLOv510.1155/2021/7321394 ↗
18. Reducing the Dimensionality of Data with Neural Networks10.1126/science.1127647 ↗
19. Generative Adversarial Nets
20. Liu, R.Q., Li, M.H., Shi, J.C., and Liang, Y.B. (2021, January 14–16). Fabric Defect Detection Method Based on Improved U-Net. Proceedings of the 2021 2nd International Conference on Internet of Things, Hangzhou, China.
21. Visual Inspection of Surface Defects Based on Lightweight Reconstruction Network
22. Zhang, Y., Han, J., Jing, L., Wang, C., and Zhao, L. (2022). Intelligent Fault Diagnosis of Broken Wires for Steel Wire Ropes Based on Generative Adversarial Nets. Appl. Sci., 12.10.3390/app122211552 ↗
23. Lu, F., Niu, R., Zhang, Z., Guo, L., and Chen, J. (2022). A Generative Adversarial Network-Based Fault Detection Approach for Photovoltaic Panel. Appl. Sci., 12.10.3390/app12041789 ↗
24. Vaccari, I., Orani, V., Paglialonga, A., Cambiaso, E., and Mongelli, M. (2021). A Generative Adversarial Network (GAN) Technique for Internet of Medical Things Data. Sensors., 21.10.3390/s21113726 ↗
25. Multistage GAN for Fabric Defect Detection10.1109/TIP.2019.2959741 ↗
26. Attention-based Feature Fusion Generative Adversarial Network for yarn-dyed fabric defect detection10.1177/00405175221129654 ↗
27. Research on textile defects detection based on improved generative adversarial network
28. Semi-supervised learning with GAN for automatic defect detection from images10.1016/j.autcon.2021.103764 ↗
29. A comprehensive survey on transfer learning10.1109/JPROC.2020.3004555 ↗
30. A Survey on Transfer Learning10.1109/TKDE.2009.191 ↗
31. Li, H., Fu, X., and Huang, T. (2020, January 14–15). Research on surface defect detection of solar pv panels based on pre-training network and feature fusion. Proceedings of the 3rd International Conference on Green Energy and Sustainable Development, Shenyang, China.
32. Şeker, A. (2018, January 28–30). Evaluation of fabric defect detection based on transfer learning with pre-trained AlexNet. Proceedings of the 2018 International Conference on Artificial Intelligence and Data Processing (IDAP), Malatya, Turkey.10.1109/IDAP.2018.8620888 ↗
33. Wang, Q., Michau, G., and Fink, O. (2019, January 2–5). Domain adaptive transfer learning for fault diagnosis. Proceedings of the 2019 Prognostics and System Health Management Conference (PHM-Paris), Paris, France.10.1109/PHM-Paris.2019.00054 ↗
34. Support vector machines10.1109/5254.708428 ↗
35. Rethinking Maximum Mean Discrepancy for Visual Domain Adaptation10.1109/TNNLS.2021.3093468 ↗
36. Feature selection: A literature review10.6029/smartcr.2014.03.007 ↗
37. Principal component analysis10.1002/wics.101 ↗
38. A domain adaptation YOLOv5 model for industrial defect inspection10.1016/j.measurement.2023.112725 ↗
39. Fabric defect detection based on transfer learning and improved Faster R-CNN
40. Isola, P., Zhu, J.Y., Zhou, T., and Efros, A.A. (2017, January 21–26). Image-to-Image Translation with Conditional Adversarial Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, Hawaii.10.1109/CVPR.2017.632 ↗
41. Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5–9). U-Net: Convolutional Networks for Biomedical Image Segmentation. Proceedings of the Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany.10.1007/978-3-319-24574-4_28 ↗
42. Liu, W., Cao, J., You, J., and Wang, H. (2023). Vector Decomposition of Elastic Seismic Wavefields Using Self-Attention Deep Convolutional Generative Adversarial Networks. Appl. Sci., 13.10.3390/app13169440 ↗
43. Loss Functions for Image Restoration With Neural Networks10.1109/TCI.2016.2644865 ↗
44. Cascade conditional generative adversarial nets for spatial-spectral hyperspectral sample generation
45. Image quality assessment: From error visibility to structural similarity10.1109/TIP.2003.819861 ↗
46. Segmentation of fabric defect images based on improved frequency-tuned salient algorithm
47. Makhzani, A., Shlens, J., Jaitly, N., and Goodfellow, I. (2015). Adversarial Autoencoders. arXiv.
48. Zhao, Z., Li, B., Dong, R., and Zhao, P. (2018, January 28–31). A surface defect detection method based on positive samples. Proceedings of the PRICAI 2018: Trends in Artificial Intelligence: 15th Pacific Rim International Conference on Artificial Intelligence, Nanjing, China.10.1007/978-3-319-97310-4_54 ↗