{'fraction_non_alphanumeric': 0.011294526498696786, 'fraction_numerical': 0.009556907037358819, 'mean_word_length': 5.582857142857143, '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}}
Cotton contamination detection and classification using hyperspectral fluorescence imaging

The presence of foreign matter in ginned cotton lowers the quality and ultimately the monetary value of cotton. Previous studies have shown benefits of using ultraviolet excited fluorescence to detect certain cotton contamination that is difficult to detect using other methods. The overall goal of this study was to explore the feasibility of using hyperspectral fluorescence imaging as a complementary tool for foreign matter differentiation. The mean spectra of lint and seven types of foreign matter were extracted from the hyperspectral fluorescence images using a region-of-interest-based approach. The principal component analysis was applied to select the optimal features from a total of 113 wavelengths covering the spectral range of 425–700 nm. The linear discriminant analysis with the selected wavelengths achieved an average classification rate of 90% for all samples. Therefore, this imaging method could be used as a complementary sensing modality to current instruments that are employed for cotton quality assessment in the textile industry.