Simple OCR, finding matching pattern

Hi,
Could anybody tell me how to make simple OCR? Lets say we have B&W bitmap. It has some letters on it. Let's say that i have pattern for every letter -> b&w bitmap too ... so how do i find matches for patterns the easiest way? The problem may be that some letters may be partially out of bitmap.
Thanx for help,
FlashT
LVL 3
flashtAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aikimarkCommented:
"how do i find matches for patterns the easiest way?"
Question: Are you trying to recognize CAPTCHA text?  That is a different problem than typical OCR.

=================
Given your beginner level status, do NOT try to program this yourself.  Use a third-party, shareware, freeware/opensource OCR library.  

Consider the following:
http://www.leadtools.com/SDK/Document/Document-Addon-ocr.htm
http://asprise.com/product/ocr/index.php?lang=c
http://www.freedownloadscenter.com/Best/ocr-delphi.html
http://www.vclcomponents.com/Delphi/Graphical_Controls/OCR_Toolkit_for_Delphi-info.html
http://www.vclcomponents.com/Delphi/Graphical_Controls/Kadmos_OCR_ICR_engine-info.html
http://www.torry.net/pages.php?id=1547
http://www.abbyy.com/
http://ccambien.free.fr/wocar/index.shtml.en
http://www.ocr.com/
http://www.screenocr.com/

Good list with some duplicates of above items:
http://www.componentsource.com/features/scanning-ocr/delphi/index.html

Article about doing this with D7 and the MS Office MODI library:
http://www.delphi3000.com/articles/article_4253.asp?SK=
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
flashtAuthor Commented:
I tried those but they suck badly... I do have EXACT patters for letters so the only thing I am asking is how to find matches easiest way. I'm not begginer. It's just I think there are better ways than pixel per pixel comparation...
0
flashtAuthor Commented:
Oh and yes I'm trying to recognize captcha... if you know any free software for that, would be useful too :)
0
aikimarkCommented:
if you have a character set and there are no morphing or obfuscating operations applied to the CAPTCHA, then I would approach the matching problem thusly:
* isolate individual CAPTCHA characters
* do your matching on a per-character basis

=============
Thinking of this problem as an exercise, I might be tempted to translate the characters, in both your matching set and the CAPTCHA, into vector representations and do a comparison on at the representational level.  Think TEX and LaTEX and TrueType.
0
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.