thai ocr using template matching algorithm by manoch pracha assignment 1
TRANSCRIPT
Thai OCRThai OCRusingusing
Template Matching AlgorithmTemplate Matching Algorithm
By Manoch Pracha
Assignment 1Assignment 1
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.
Detect Lines and Characters
Template Matching
Problems and Errors
Single character, more than one “label” “i” “:” “%” “ฐ” “แ” “ะ”
Similarity “ด” “ค”