60 likes | 280 Views
Thai OCR using Template Matching Algorithm. Assignment 1. By Manoch Pracha. Algorithm. Load the test bitmap picture Detect Lines and Characters Y-Axis profile for detecting lines Line locations Nbr-8 for labeling each characters Labels (Blob Coloring)
E N D
Thai OCRusingTemplate Matching Algorithm Assignment 1 By Manoch Pracha
Algorithm • Load the test bitmap picture • Detect Lines and Characters • Y-Axis profile for detecting lines • Line locations • Nbr-8 for labeling each characters • Labels (Blob Coloring) • Finding bounding box for each character • Compute the center of mass for each character • Sort the character (center bottom top) • Feed the sorted data to Template matching to recognize each character
3 line's Thai character detection • Using center of mass to determine the character detecting order : center, bottom, top respectively.
Problems and Errors • Single character, more than one “label” • “i” “:” “%” “ฐ” “แ” “ะ” • Similarity • “ด” “ค”