{'fraction_non_alphanumeric': 0.011122345803842264, 'fraction_numerical': 0.0, 'mean_word_length': 5.346153846153846, '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}}
The research of QR code image correction based on image gray feature

To solve the problem that traditional geometric correction algorithms of QR code will be influenced by light, shooting impact angle, correction algorithm robustness and so on, this paper proposes an adaptive algorithm based on image gray features, which achieves the accurate reading and rapid correction of QR code location information. After the pre-processing of QR code image, this algorithm calculates the dynamic threshold according to the gray value of feature image and the calculated threshold is used to confirm the most appropriate threshold of the QR location information. Then, we can get four accurate vertexes coordinates of QR code image and accomplish the accurate correction of QR code image based on projection transformation. The algorithm is able to complete effective correction for these captured images under different environments and solve the key technical bottlenecks of QR code recognition.