{'fraction_non_alphanumeric': 0.014044943820224719, 'fraction_numerical': 0.0, 'mean_word_length': 5.423423423423423, '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 using wavelet decomposition

Fabric defect detection is done by humans to assure textile quality traditionally. This paper proposes an automatic detection scheme using wavelet decomposition for the warp knitting machine. The following aspects are considered in dealing with broken-end defects caused by a single yarn. First, a wavelet transform is used to decompose fabric image, and an improved direct thresholding method based on high frequency coefficients is proposed. Second, a proper template is chosen in mathematical morphology filter to remove noise. Experimental results show that the scheme is effective and can satisfy the detection requirements for the warp knitting machine.