Skip to main content
Log in

Efficient utilization of deep learning for the detection of fabric defects

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20

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

  1. Zhou J, Semenovich D, Sowmya A et al (2013) Dictionary learning framework for fabric defect detection. J Text I(105):223–234

    Google Scholar 

  2. Jing J, Fan X, Li P (2016) Patterned fabric defect detection via convolutional matching pursuit dual-dictionary. Opt Eng 55(5):053109

    Article  Google Scholar 

  3. 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

    Article  CAS  Google Scholar 

  4. 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

    Article  ADS  CAS  Google Scholar 

  5. 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

    Article  Google Scholar 

  6. 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

    Article  Google Scholar 

  7. 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

    ADS  Google Scholar 

  8. Zhang K, Li P, Dong A et al (2017) Yarn-dyed fabric defect classification based on convolutional neural network. Opt Eng 56:1–10

    Google Scholar 

  9. 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

    Article  Google Scholar 

  10. 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

    Article  Google Scholar 

  11. Tong L, Wong WK, Kwong CK (2016) Differential evolution-based optimal Gabor filter model for fabric inspection. Neurocomputing 173(3):1386–1401

    Article  Google Scholar 

  12. Zhou J, Wang J (2016) Unsupervised fabric defect segmentation using local patch approximation. J Text Inst 107(6):800–809

    Article  Google Scholar 

  13. 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

    Article  CAS  Google Scholar 

  14. 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

    Google Scholar 

  15. 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)

  16. 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

  17. Ngan HYT, Pang GKH, Yung NHC (2011) Automated fabric defect detection—A review. Image Vis Comput 29(7):442–458

    Article  Google Scholar 

  18. Kumar A (2008) Computer-vision-based fabric defect detection: a survey. IEEE Trans Industr Electron 55(1):348–363

    Article  Google Scholar 

  19. 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

    Article  Google Scholar 

  20. 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

    Article  Google Scholar 

  21. 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

    Article  Google Scholar 

  22. 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

  23. Tong L, Wong WK, Kwong CK (2017) Fabric defect detection for apparel industry: a nonlocal sparse representation approach. IEEE Access 5:5947–5964

    Google Scholar 

  24. Wang R, Guo Q, Lu S, Zhang C (2019) Tire defect detection using fully convolutional network. IEEE Access 7:43502–43510

    Article  Google Scholar 

  25. Ouyang W, Xu B, Hou J, Yuan X (2019) Fabric defect detection using activation layer embedded convolutional neural network. IEEE Access 7:70130–70140

    Article  Google Scholar 

  26. 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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Aya Zahra or Fathi E. Abd El-Samie.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-023-09137-0

Keywords

Navigation