{'fraction_non_alphanumeric': 0.014423076923076924, 'fraction_numerical': 0.0, 'mean_word_length': 4.957142857142857, '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}}
Automatic correction of document images

The traditional way of transferring printed documents into the computer memory is scanning. A quicker way is to use a digital camera. But in this case the picture geometry may be distorted, and lighting may be uneven. This makes further processing difficult or impossible. The proposed method for automatic correction of geometry and lighting can improve the picture quality.