{'fraction_non_alphanumeric': 0.02258064516129032, 'fraction_numerical': 0.0, 'mean_word_length': 5.536842105263158, '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}}
An Improved Perspective Transform for Image Distortion Correction

In this paper, we propose a new image distortion correction algorithm. Based on a perspective transform, we add the hue, saturation, lightness (HSL) threshold segmentation and Hough transform to solve the problem of image distortion, and improve recognition accuracy by correcting the edge of the target area. Optical character recognition (OCR) is used as a benchmark to evaluate the performance of the proposed algorithm. The experimental results demonstrate that the algorithm has a wide range of adaptation, good correction and recognition accuracy.