{'fraction_non_alphanumeric': 0.01053864168618267, 'fraction_numerical': 0.0, 'mean_word_length': 5.333333333333333, '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}}
Contaminant and foreign fiber detection in cotton using Gaussian mixture model

Cotton is a very important material used in producing many fabric types. Contaminants from various sources need to be removed from cotton before fibers can be spun into yarn. Contaminants critically affect the quality of the yarn produced; any foreign material may result in unacceptable yarn or fabric, or even cause damage to the production machines. Automatic detection and removal of foreign fibers and contaminants in cotton is an essential technology for the modern textile industry. Various image processing and computer vision techniques have been proposed for the detection of foreign materials in cotton fibers. We describe a detection method using Gaussian mixture models and thresholding based on pixel probabilities. The proposed method gives promising results.