{'fraction_non_alphanumeric': 0.007334963325183374, 'fraction_numerical': 0.0, 'mean_word_length': 5.251908396946565, '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}}
New algorithm to calculate the center of laser reflections

One of the main problems in machine vision inspection systems which use the triangulation of structured light is improving the accuracy of the laser light centroid algorithm. This paper presents a new and practical way to calculate the center of reflection of structured laser light. Reflection from a laser light line has a normal distribution of light intensity. Traditional algorithms ignore the influence of specular reflecting light and assume the laser light line intensity is not a normal distribution. The new algorithm considers this situation and gives more weight to the central sampling values when calculating the center of the reflected laserlight. Experiments verify that this algorithm is more robust and accurate than traditional algorithms.