Abstract
A fabric inspection system is a sophisticated computer vision system that detects fabric defects, automatically. In recent years, human visual inspection has traditionally been used to detect fabric defects. However, this trend is inaccurate and may be expensive due to the need for highly-trained personnel. This paper describes a deep-learning-based fabric inspection system for detecting fabric defects instead of the dependence on personnel. To find the Region of Interest (RoI) in fabric images, the system depends on a saliency-based region detection technique to localize the defected areas in fabric images. The fabric images are then classified into defect-free and defective images using a Convolutional Neural Network (CNN). Four convolutional layers and four max-pooling layers are arranged in the suggested model. A fully-connected layer and a Softmax activation function are also used in the classification task. The results of the experiments indicate that the proposed system exceeds some other state-of-the-art systems in terms of both quality and robustness. The proposed system achieves an average accuracy of 95.8%. Hence, it can be used in applications related to fabric industry.
Similar content being viewed by others
Data availability
The manuscript does not contain human or animal studies. The database employed in this paper is provided by Industrial Automation Research Laboratory from the Department of Electrical and Electronic Engineering of Hong Kong University. The databases described in this paper are available at https://www.kaggle.com/datasets/rmshashi/fabric-defect-dataset.
References
Zhou J, Semenovich D, Sowmya A et al (2013) Dictionary learning framework for fabric defect detection. J Text I(105):223–234
Jing J, Fan X, Li P (2016) Patterned fabric defect detection via convolutional matching pursuit dual-dictionary. Opt Eng 55(5):053109
Zhu Q, Wu M, Li J et al (2014) Fabric defect detection via small scale over complete basis set. Text Res J 84:1634–1649
Mei S, Yang H, Yin Z (2018) An unsupervised-learning- based approach for automated defect inspection on textured surfaces. IEEE Trans Instrum Meas 67:1266–1277
Mei S, Wang Y, Wen G (2018) Automatic fabric defect detection with a multi-scale convolutional denoising autoencoder network model. Sensors (Basel) 18:1–18
Daniel Y, Mohand SA, Nadia B (2018) Automatic fabric defect detection using learning-based local textural distributions in the contourlet domain. IEEE Trans Autom Sci Eng 15(3):1014–1026
Shuang M, Yudan W, Guojun W (2018) Automatic fabric defect detection with a multi-scale convolutional denoising autoencoder network model. Sensors 18(4):1–12
Zhang K, Li P, Dong A et al (2017) Yarn-dyed fabric defect classification based on convolutional neural network. Opt Eng 56:1–10
Alawad M, Lin M (2016) Stochastic-based deep convolutional networks with reconfigurable logic fabric. IEEE Transactions on Multi-Scale Computing Systems 2(4):242–256
Hanbay K, Talu MF, Ozgüven OF (2016) Fabric defect detection systems and methods a systematic literature review. Optik Int J Light Electron Opt 127(24):11960–11973
Tong L, Wong WK, Kwong CK (2016) Differential evolution-based optimal Gabor filter model for fabric inspection. Neurocomputing 173(3):1386–1401
Zhou J, Wang J (2016) Unsupervised fabric defect segmentation using local patch approximation. J Text Inst 107(6):800–809
Liu Q, Wang C, Li Y, Gao M, Li J (2022) A fabric defect detection method based on deep learning. IEEE Access 10:4284–4296
Liu WJ, Liu H, Li ZR, Lai DY (2021) A fabric defect detection algorithm based on image enhancement and CNN. Comput Technol Dev 31:90–95
Zhang H, Hu J, He Z (2017) Fabric defect detection based on visual saliency map and SVM. In: Conference: 2017 2nd IEEE International Conference on Computational Intelligence and Applications (ICCIA)
Huang C, Ni S, Chen G (2017) A layer-based structured design of CNN on FPGA. In: IEEE 12th International Conference on ASIC (ASICON), pp 1037–1040
Ngan HYT, Pang GKH, Yung NHC (2011) Automated fabric defect detection—A review. Image Vis Comput 29(7):442–458
Kumar A (2008) Computer-vision-based fabric defect detection: a survey. IEEE Trans Industr Electron 55(1):348–363
Hu G-H, Wang Q-H, Zhang G-H (2015) Unsupervised defect detection in textiles based on Fourier analysis and wavelet shrinkage. Appl Opt 54(10):63–80
Yildiz K, Buldu A (2017) Wavelet transform and principal component analysis in fabric defect detection and classification. Pamukkale Univ J Eng Sci 23(5):622–627
Tsai D-M, Lin C-P, Huang K-T (2005) Defect detection in coloured texture surfaces using Gabor filters. Imaging Sci J 53(1):27–37
Dogandžić A, Eua-Anant N, Zhang B (2005) Defect detection using hidden Markov random fields. In: Proceedings of the AIP Conference, vol 760. USA, pp 704–711
Tong L, Wong WK, Kwong CK (2017) Fabric defect detection for apparel industry: a nonlocal sparse representation approach. IEEE Access 5:5947–5964
Wang R, Guo Q, Lu S, Zhang C (2019) Tire defect detection using fully convolutional network. IEEE Access 7:43502–43510
Ouyang W, Xu B, Hou J, Yuan X (2019) Fabric defect detection using activation layer embedded convolutional neural network. IEEE Access 7:70130–70140
Chakraborty S, Moore M, Chapman LP (2021) Automatic defect detection (ADD) approaches in textiles and apparel. J Text Appar Technol Manag Special Issue 2021:1–24
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Conflict of interest
The authors declare that they have neither known competing financial interests nor personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Zahra, A., Amin, M., El-Samie, F.E.A. et al. Efficient utilization of deep learning for the detection of fabric defects. Neural Comput & Applic 36, 6037–6050 (2024). https://doi.org/10.1007/s00521-023-09137-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-023-09137-0