thai ocr using template matching algorithm by manoch pracha assignment 1

6
Thai OCR Thai OCR using using Template Matching Template Matching Algorithm Algorithm By Manoch Pracha Assignment 1 Assignment 1

Upload: anna-marsh

Post on 13-Dec-2015

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Thai OCR using Template Matching Algorithm By Manoch Pracha Assignment 1

Thai OCRThai OCRusingusing

Template Matching AlgorithmTemplate Matching Algorithm

By Manoch Pracha

Assignment 1Assignment 1

Page 2: Thai OCR using Template Matching Algorithm By Manoch Pracha Assignment 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

Page 3: Thai OCR using Template Matching Algorithm By Manoch Pracha Assignment 1

3 line's Thai character detection

Using center of mass to determine the character detecting order : center, bottom, top respectively.

Page 4: Thai OCR using Template Matching Algorithm By Manoch Pracha Assignment 1

Detect Lines and Characters

Page 5: Thai OCR using Template Matching Algorithm By Manoch Pracha Assignment 1

Template Matching

Page 6: Thai OCR using Template Matching Algorithm By Manoch Pracha Assignment 1

Problems and Errors

Single character, more than one “label” “i” “:” “%” “ฐ” “แ” “ะ”

Similarity “ด” “ค”