{'fraction_non_alphanumeric': 0.016456921587608905, 'fraction_numerical': 0.001936108422071636, 'mean_word_length': 5.046783625730995, '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}}
Detection of Residual Yarn in Bobbin Based on Hough Transform and BP Neural Network

In order to promote the intellectualization of textile industry, in this paper, a step-by-step residual yarn detection algorithm based on Hough transform and BP neural network is proposed. According to the geometric characteristic’s transformation of bobbins with a large amount of residual yarn, the images are converted to the grayscale, then the edges of image are detected by Canny-Otsu algorithm and the outlines of bobbin are detected by Hough transform, the bobbins with a large amount of residual yarn are eliminated by outline detection results. The images which cannot eliminated by outline detection are converted to HSV color space and divide to several sub regions, the HSV values are extracted as the input layer of BP neural network, the residual yarn condition of bobbins as the output layer. The experimental results show that the detection accuracy of algorithm is up to 96%, which meets the requirements of practical application.