{'fraction_non_alphanumeric': 0.01277139208173691, 'fraction_numerical': 0.0, 'mean_word_length': 5.030769230769231, '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 Glass Chips in Liquid Injection Based on Computer Vision

Glass chip in liquid injection must be avoided according to the medicine regulations. We develop a system that can detect glass chip automatically. The system imitates the artificial glass chip inspection method which is done by swaying and vibrating the container. An industrial camera acquires a sequence of images during the process. The image data are sent to the computer and our algorithm analyses the data. Image binarization, mathematic morphological filtering and connected area analysis are used to detect glass chip candidate areas. Then we use optical flow method to detect moving object. Finally, we analyze the results comprehensively to determine whether there is glass chip in the current sample.