{'fraction_non_alphanumeric': 0.024134312696747113, 'fraction_numerical': 0.0, 'mean_word_length': 5.276315789473684, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Fabric Defect Detection Based on Wavelet Decomposition with One Resolution Level

According to the property of wavelet transform and fabric texture's Fourier spectrum, a new method for defect detection was presented. The proposed method is based on wavelet lifting transform with one resolution level. By using restoration scheme of the Fourier transform, the normal fabric textures of smooth sub-image in the spatial domain are removed by detecting the high-energy frequency components of sub-image in the Fourier domain, setting them to zero using frequency-domain filter, and back-transforming to a spatial domain sub-image. Then, the smooth and detail sub-images are segmented into many sub-windows, in which standard deviation are calculated as extracted features. The extracted features are compared with normal sub-window's features to determine whether there exists defect. Experimental results show that this method is validity and feasibility.