{'fraction_non_alphanumeric': 0.013513513513513514, 'fraction_numerical': 0.0009652509652509653, 'mean_word_length': 5.284848484848485, '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}}
Automated form processing system based on Sobel operator

Automated form processing is a procedure that can dramatically accelerate system performance, reduce the proportion of human work and interventions, and is applicable in many areas. The aim of this paper is to describe the procedure that successfully locates various fields for data entry on scanned documents and prepare their content for further processing — segmentation and recognition. The procedure starts with preprocessing to make data entry fields easier to identify. It consists of contrast adjustments and corrections to the text skew that can occur when scanning. Data entry fields are then identified by a developed algorithm using the Sobel operator. Finally, field contents are extracted from the original image. The procedure performance in data extraction from the form is tested on a number of scanned and computer-generated forms in A4 format, giving good accuracy. This procedure gives satisfactory results for many applications of automated form processing.