{'fraction_non_alphanumeric': 0.014745308310991957, 'fraction_numerical': 0.0, 'mean_word_length': 5.122950819672131, '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}}
Research on the algorithm of visual particles inspection based on machine vision

To detect visual particles in pharmaceutical ampoule on line, a detection algorithm base on machine vision was designed. Firstly, to capture the original image through the camera, and then image technique difference and energy accumulation was used to remove the background noise,therefore the target image only with visual particles and air bubble noise was acquired. Secondly, the edge of the targets in the image were extracted through the edge detector. Finally, to distinguish the visual particles from the noise in the image base on the difference of diaphaneity in their edge region. A large number of experimental results show that the method is effective.