{'fraction_non_alphanumeric': 0.01859799713876967, 'fraction_numerical': 0.005722460658082976, 'mean_word_length': 5.542056074766355, '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}}
Manipulation of text documents in the modified Group 4 domain

This paper presents a novel approach to document image compression that is efficient in both compression and processing flexibility. By proper exploitation of the structural characteristics of compressed data, one may obtain high performance for image operations with low complexity. Based on CCITT Group 4, an improved coding scheme (MG4), which exploits the 2-dimensional correlation between scan lines, is developed. Then such operations as skew detection, skew correction and connected component extraction are investigated and implemented. These operations are shown to run faster in the compressed domain than traditional methods.