{'fraction_non_alphanumeric': 0.019639934533551555, 'fraction_numerical': 0.014729950900163666, 'mean_word_length': 4.941747572815534, '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}}
Orientation detection of major Indian scripts

The problem of orientation detection of all major printed Indian scripts is considered. For a large skew, the corrected document may be oriented in 0° or 180°. The OCR system will make fatal error if the document is in 180° orientation. We tested with several simple features like gray density, vertical/horizontal crossing counts, border directions and water reservoir area to detect orientation and found that the last one works uniformly good for all 11 classes of printed Indian scripts. Experimental results are presented on moderate data sets of all scripts.