{'fraction_non_alphanumeric': 0.029710144927536233, 'fraction_numerical': 0.004347826086956522, 'mean_word_length': 4.901709401709402, '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}}
Extended framework for Sindhi numerals OCR using gradient orientation histograms

The accuracy on MINST dataset for roman numerals is already 99.65% . However, same models showed low accuracy on Sindhi numerals. It is because Sindhi numerals have high correlation between the shapes of the numerals. In this paper, correlation based template matching is used to analyze the shape ambiguity by identifying the dominant false positives (FP) and false negatives (FN) for every numeral. Furthermore, the Gradients Histogram Orientation (GOH) features are used to improve the accuracy of existing classifiers by image-to-image matching. The classical OCR using simple binary features are not sufficient to address the problems of shape ambiguity in Sindhi numerals, i.e., the shape of digits 2, , and 3, , are very similar. The raw pixel values are used as features for the classification in the first stage. In second stage, the input image is matched with the dominant FP and FN of the predicted class, and the final decision is made by the image-to-image matching based on GOH features. Decision based on image to image matching with dominant FP and FN increase the accuracy of the classifier. Support vector machine (SVM), K-nearest neighbor, and template based matching classifiers are used. The proposed extension substantially improves the accuracy of all mentioned classifiers.