{'fraction_non_alphanumeric': 0.01430976430976431, 'fraction_numerical': 0.0, 'mean_word_length': 5.257894736842105, '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}}
Detecting Characters From Digital Image With Chinese Text Based on Grid Lines

For neatness, many Chinese and international students write on paper with grid lines in horizontal and vertical directions. The lines have a few styles, such as composition format, post format and so on. The approaches of Chinese text detection in natural scenes focus on complex and changeable objects, paying less attention to grid lines. Therefore, the results of their application are mostly unsatisfactory. In Chinese text image with grid lines, characters are surrounded by similar rectangular boundary lines. This paper proposes an approach based on grid lines to detect characters. The approach can effectively avoid the omissions and overlaps that easily occurs in other approaches. The image is firstly converted into a binary edge one using adaptive Canny edge detection. Horizontal and vertical lines are extracted from the binary edge image using Hough transform. Rectangles bounding characters are identified from the transformed lines. The experimental results show that this presented approach can accurately detect characters from different formats of Chinese text images with the grid lines.