journal article·2024-06-19Open access

A Novel Dataset for Fabric Defect Detection: Bridging Gaps in Anomaly Detection

Rui Carrilho, Kailash A. Hambarde, Hugo Proença

Applied Sciences· Volume 14· Issue 12

Abstract

Detecting anomalies in texture has become a significant concern across various industrial processes. One prevalent application of this is in inspecting patterned textures, especially in the domain of fabric defect detection, which is a commonly encountered scenario. This task entails dealing with a wide array of colours and textile varieties, spanning a broad spectrum of fabrics. Due to the extensive diversity in colours, textures, and defect characteristics, fabric defect detection presents a complex and formidable challenge within the realm of patterned texture inspection. While recent trends have seen a rise in the utilization of deep learning methods for anomaly detection, there still exist notable gaps in this field. In this paper, we introduce a novel dataset comprising a diverse selection of fabrics and defects from a textile company based in Portugal. Our contributions encompass the provision of this unique dataset and the evaluation of state-of-the-art (SOTA) methods’ performance on our dataset.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Image and Object Detection Techniques · Integrated Circuits and Semiconductor Failure Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

IT: Instituto de Telecomunicações, University of Beira Interior, Rua Marquês D’Ávila e Bolama, 6201-001 Covilhã, Portugal

Department of Computer Science, University of Beira Interior Rua Marquês D’Ávila e Bolama, 6201-001 Covilhã, Portugal

Funding

EU (NextGenerationEU program) and by PRR: Plano de Recuperação e Resiliência · FCT/MCTES through national funds

References (100+)

Show source-provided references
1. FDAS: A knowledge-based framework for analysis of defects in woven textile structures10.1080/00405009208631217 ↗
2. Fabric defect detection systems and methods—A systematic literature review10.1016/j.ijleo.2016.09.110 ↗
3. Zju-leaper: A benchmark dataset for fabric defect detection and a comparative study10.1109/TAI.2021.3057027 ↗
4. Andersen, I. (2024, April 04). TILDA Fabric Dataset. Available online: https://universe.roboflow.com/irvin-andersen/tilda-fabric.
5. Regularity analysis for patterned texture inspection10.1109/TASE.2008.917140 ↗
6. (2024, April 04). Kaggle Fabric Dataset. Available online: https://www.kaggle.com/priemshpathirana/fabric-stain-dataset.
7. A visual long-short-term memory based integrated CNN model for fabric defect image classification10.1016/j.neucom.2019.10.067 ↗
8. Tianchi, A. (2022, November 13). Smart Diagnosis of Cloth Flaw Dataset, Available online: https://tianchi.aliyun.com/dataset/79336.
9. Zhang, H., Mi, H., and Lu, S. (2022, November 13). Yarn-Dyed Fabric Image Dataset Version 1. Available online: https://github.com/ZHW-AI/YDFID-1/blob/main/README_ENG.md.
10. A literature review on one-class classification and its potential applications in big data10.1186/s40537-021-00514-x ↗
11. Deep learning based feature extraction for texture classification10.1016/j.procs.2020.04.180 ↗
12. Nonlinear principal component analysis using autoassociative neural networks10.1002/aic.690370209 ↗
13. Hinton, G., Vinyals, O., and Dean, J. (2015). Distilling the knowledge in a neural network. arXiv.
14. Salehi, M., Sadjadi, N., Baselizadeh, S., Rohban, M.H., and Rabiee, H.R. (2021, January 20–25). Multiresolution knowledge distillation for anomaly detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01466 ↗
15. Wang, G., Han, S., Ding, E., and Huang, D. (2021). Student-teacher feature pyramid matching for anomaly detection. arXiv.
16. Roth, K., Pemula, L., Zepeda, J., Schölkopf, B., Brox, T., and Gehler, P. (2022, January 18–24). Towards total recall in industrial anomaly detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01392 ↗
17. Yu, J., Zheng, Y., Wang, X., Li, W., Wu, Y., Zhao, R., and Wu, L. (2021). Fastflow: Unsupervised anomaly detection and localization via 2d normalizing flows. arXiv.
18. Defard, T., Setkov, A., Loesch, A., and Audigier, R. (2021, January 16–18). Padim: A patch distribution modeling framework for anomaly detection and localization. Proceedings of the International Conference on Pattern Recognition, Chengdu, China.10.1007/978-3-030-68799-1_35 ↗
19. Li, C.L., Sohn, K., Yoon, J., and Pfister, T. (2021, January 20–25). Cutpaste: Self-supervised learning for anomaly detection and localization. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00954 ↗
20. Bergmann, P., Fauser, M., Sattlegger, D., and Steger, C. (2020, January 13–19). Uninformed students: Student-teacher anomaly detection with discriminative latent embeddings. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00424 ↗
21. Yi, J., and Yoon, S. (December, January 30). Patch svdd: Patch-level svdd for anomaly detection and segmentation. Proceedings of the Asian Conference on Computer Vision, Kyoto, Japan.
22. Zhou, H., Chen, Y., Troendle, D., and Jang, B. (2022). One-class model for fabric defect detection. arXiv.10.5121/csit.2021.112314 ↗
23. Distillation-based fabric anomaly detection10.1177/00405175231206820 ↗
24. Deng, H., and Li, X. (2022, January 18–24). Anomaly detection via reverse distillation from one-class embedding. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.00951 ↗
25. Real-time fabric defect detection based on multi-scale convolutional neural network10.1049/iet-cim.2020.0062 ↗
26. Fabric defect detection in textile manufacturing: A survey of the state of the art
27. Statistical pattern recognition: A review10.1109/34.824819 ↗
28. A review of recent advances in surface defect detection using texture analysis techniques10.5565/rev/elcvia.268 ↗
29. Color texture classification with color histograms and local binary patterns
30. Fabric defect detection based on saliency histogram features10.1111/coin.12206 ↗
31. Watanabe, T., Ito, S., and Yokoi, K. (2009, January 13–16). Co-occurrence histograms of oriented gradients for pedestrian detection. Proceedings of the Advances in Image and Video Technology: Third Pacific Rim Symposium, PSIVT 2009, Tokyo, Japan. Proceedings 3.
32. Applying an artificial neural network to pattern recognition in fabric defects10.1177/004051759506500301 ↗
33. GLCM–based chi–square histogram distance for automatic detection of defects on patterned textures10.1504/IJCVR.2011.045267 ↗
34. Czimmermann, T., Ciuti, G., Milazzo, M., Chiurazzi, M., Roccella, S., Oddo, C.M., and Dario, P. (2020). Visual-based defect detection and classification approaches for industrial applications—A survey. Sensors, 20.10.3390/s20051459 ↗
35. Fabric defect detection and classification using image analysis10.1177/004051759506500101 ↗
36. Detecting fabric defects with a neural network using two kinds of optical patterns10.1177/004051750207200614 ↗
37. Monadjemi, A. (2004). Towards Efficient Texture Classification and Abnormality Detection. [Ph.D. Thesis, University of Bristol].
38. Real-time aspects of SOM-based visual surface inspection
39. Sindagi, V.A., and Srivastava, S. (2015, January 18–22). OLED panel defect detection using local inlier-outlier ratios and modified LBP. Proceedings of the 2015 14th IAPR International Conference on Machine Vision Applications (MVA), Tokyo, Japan.10.1109/MVA.2015.7153170 ↗
40. Srilatha, N., and Reddy, V.L. (2021, January 27–29). Image Texture Analysis with Local Binary Patterns: A Review. Proceedings of the 2021 Innovations in Power and Advanced Computing Technologies (i-PACT), Kuala Lumpur, Malaysia.10.1109/i-PACT52855.2021.9696847 ↗
41. Matheron, G., and Serra, J. (2002, January 3–5). The birth of mathematical morphology. Proceedings of the 6th International Symposium on Mathematical Morphology, Sydney, Australia.
42. Hou, W., Zhang, D., Wei, Y., Guo, J., and Zhang, X. (2020). Review on computer aided weld defect detection from radiography images. Appl. Sci., 10.10.3390/app10051878 ↗
43. A review on computer vision based defect detection and condition assessment of concrete and asphalt civil infrastructure10.1016/j.aei.2015.01.008 ↗
44. Chen, Y., Ding, Y., Zhao, F., Zhang, E., Wu, Z., and Shao, L. (2021). Surface defect detection methods for industrial products: A review. Appl. Sci., 11.10.3390/app11167657 ↗
45. Sakhare, K., Kulkarni, A., Kumbhakarn, M., and Kare, N. (2015, January 28–30). Spectral and spatial domain approach for fabric defect detection and classification. Proceedings of the 2015 International Conference on Industrial Instrumentation and Control (ICIC), Pune, India.10.1109/IIC.2015.7150820 ↗
46. Fabric defect detection by Fourier analysis10.1109/28.871274 ↗
47. Fabric defect detection by Fourier analysis
48. Classification of biscuit tiles for defect detection using Fourier transform features10.1016/j.isatra.2021.06.025 ↗
49. Defect detection in electronic surfaces using template-based Fourier image reconstruction10.1109/TCPMT.2018.2873744 ↗
50. Defect detection of solar cells in electroluminescence images using Fourier image reconstruction10.1016/j.solmat.2011.12.007 ↗
51. Saliency-based defect detection in industrial images by using phase spectrum10.1109/TII.2014.2359416 ↗
52. A theory for multiresolution signal decomposition: The wavelet representation10.1109/34.192463 ↗
53. Intelligent characterization and evaluation of yarn surface appearance using saliency map analysis, wavelet transform and fuzzy ARTMAP neural network10.1016/j.eswa.2011.09.114 ↗
54. Jiang, J., Cui, Y., Chen, Y., and Gao, G. (2018, January 8–10). A novel nonlocal low rank technique for fabric defect detection. Proceedings of the Cloud Computing and Security: 4th International Conference, ICCCS 2018, Haikou, China. Revised Selected Papers, Part IV 4.10.1007/978-3-030-00015-8_15 ↗
55. Fabric defect detection using discrete wavelet transform
56. Real-time detection of knitting fabric defects using shearlet transform
57. Two-dimensional spectral analysis of cortical receptive field profiles10.1016/0042-6989(80)90065-6 ↗
58. Defect detection in textured materials using Gabor filters10.1109/28.993164 ↗
59. Supervised defect detection on textile fabrics via optimal Gabor filter10.1177/1528083713490002 ↗
60. Automated defect detection in uniform and structured fabrics using Gabor filters and PCA10.1016/j.jvcir.2013.05.011 ↗
61. Fabric defect detection adopting combined GLCM, Gabor wavelet features and random decision forest10.1007/s13319-019-0215-1 ↗
62. Harreni, V., Hinduja, S., Abirami, S., and Vanathi, P. (2022, January 10–11). Novel Multipath Convolutional Neural Network Based Fabric Defect Detection System. Proceedings of the 2022 Smart Technologies, Communication and Robotics (STCR), Sathyamangalam, India.
63. Improved faster R-CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimization10.1016/j.compind.2021.103551 ↗
64. A review of automatic fabric defect detection techniques
65. Statistical and structural approaches to texture10.1109/PROC.1979.11328 ↗
66. A class of discrete multiresolution random fields and its application to image segmentation10.1109/TPAMI.2003.1159945 ↗
67. Gaussian MRF rotation-invariant features for image classification10.1109/TPAMI.2004.30 ↗
68. Xu, Y., Meng, F., Wang, L., Zhang, M., and Wu, C. (2021, January 5–7). Fabric surface defect detection based on GMRF Model. Proceedings of the 2021 2nd International Conference on Artificial Intelligence and Information Systems, Hangzhou, China.10.1145/3469213.3471336 ↗
69. Bilayer Markov random field method for detecting defects in patterned fabric10.1142/S021812662250058X ↗
70. Vilnrotter, F.M., Nevatia, R., and Price, K.E. (1986). Structural analysis of natural textures. IEEE Trans. Pattern Anal. Mach. Intell., 76–89.10.1109/TPAMI.1986.4767754 ↗
71. Deep learning-based fabric defect detection: A review10.1177/00405175221130773 ↗
72. A survey of convolutional neural networks: Analysis, applications, and prospects10.1109/TNNLS.2021.3084827 ↗
73. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016, January 11–14). Ssd: Single shot multibox detector. Proceedings of the Computer Vision—ECCV 2016: 14th European Conference, Amsterdam, The Netherlands. Proceedings, Part I 14.10.1007/978-3-319-46448-0_2 ↗
74. 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 IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
75. Girshick, R. (2015, January 7–13). Fast r-cnn. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.169 ↗
76. Faster r-cnn: Towards real-time object detection with region proposal networks
77. He, K., Gkioxari, G., Dollár, P., and Girshick, R. (2017, January 22–29). Mask r-cnn. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.322 ↗
78. Soviany, P., and Ionescu, R.T. (2018, January 20–23). Optimizing the trade-off between single-stage and two-stage deep object detectors using image difficulty prediction. Proceedings of the 2018 20th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), Timisoara, Romania.10.1109/SYNASC.2018.00041 ↗
79. A comprehensive survey and analysis of generative models in machine learning10.1016/j.cosrev.2020.100285 ↗
80. Learning deep generative models10.1146/annurev-statistics-010814-020120 ↗
81. Automatic fabric defect detection using a deep convolutional neural network10.1111/cote.12394 ↗
82. Computer vision for automatic detection and classification of fabric defect employing deep learning algorithm10.1108/IJCST-11-2018-0135 ↗
83. Effective textile quality processing and an accurate inspection system using the advanced deep learning technique10.1177/0040517519884124 ↗
84. A fast fabric defect detection framework for multi-layer convolutional neural network based on histogram back-projection10.1587/transinf.2019EDP7092 ↗
85. Fabric defect detection with deep learning and false negative reduction10.1109/ACCESS.2021.3086028 ↗
86. Durmuşoğlu, A., and Kahraman, Y. (2021, January 6–8). Detection of fabric defects using convolutional networks. Proceedings of the 2021 Innovations in Intelligent Systems and Applications Conference (ASYU), Elazig, Turkey.10.1109/ASYU52992.2021.9599071 ↗
87. Kahraman, Y., and Durmuşoğlu, A. (2022). Classification of defective fabrics using capsule networks. Appl. Sci., 12.10.3390/app12105285 ↗
88. Mobile-Unet: An efficient convolutional neural network for fabric defect detection10.1177/0040517520928604 ↗
89. Liu, Z., Cui, J., Li, C., Wei, M., and Yang, Y. (2019, January 8–11). Fabric defect detection based on lightweight neural network. Proceedings of the Chinese Conference on Pattern Recognition and Computer Vision (PRCV), Xi’an, China.10.1007/978-3-030-31654-9_45 ↗
90. DLSE-Net: A robust weakly supervised network for fabric defect detection10.1016/j.displa.2021.102008 ↗
91. A fabric defect detection method based on deep learning10.1109/ACCESS.2021.3140118 ↗
92. Guo, Y., Kang, X., Li, J., and Yang, Y. (2023). Automatic Fabric Defect Detection Method Using AC-YOLOv5. Electronics, 12.10.3390/electronics12132950 ↗
93. Fabric defect detection algorithm based on improved YOLOv5
94. Fabric defect detection based on anchor-free network10.1088/1361-6501/ace8af ↗
95. Li, L., Li, Q., Liu, Z., and Xue, L. (2023). Effective Fabric Defect Detection Model for High-Resolution Images. Appl. Sci., 13.10.3390/app131810500 ↗
96. Automatic fabric defect detection using a wide-and-light network10.1007/s10489-020-02084-6 ↗
97. Tian, H., and Li, F. (2019, January 27–31). Autoencoder-based fabric defect detection with cross-patch similarity. Proceedings of the 2019 16th International Conference on Machine Vision Applications (MVA), Tokyo, Japan.10.23919/MVA.2019.8758051 ↗
98. Han, Y.J., and Yu, H.J. (2020). Fabric defect detection system using stacked convolutional denoising auto-encoders trained with synthetic defect data. Appl. Sci., 10.10.3390/app10072511 ↗
99. Zhang, H., Tang, W., Zhang, L., Li, P., and Gu, D. (2019, January 24–27). Defect detection of yarn-dyed shirts based on denoising convolutional self-encoder. Proceedings of the 2019 IEEE 8th Data Driven Control and Learning Systems Conference (DDCLS), Dali, China.10.1109/DDCLS.2019.8908944 ↗
100. Unsupervised fabric defect detection based on a deep convolutional generative adversarial network10.1177/0040517519862880 ↗