I want to write a c++ program that can be used to scan MICR codes same as -(Android : How to recognize MICR codes). I have used tesseract before to scan texts from a image and it worked fine but it fails miserably and gives me stupid results when i scan MICR codes. I would really appreciate if someone can advise me any links or suggestions on how to scan MICR code in Windows using tesseract or any other library.
Thanks you
You could use OpenCV to write your own OCR system. It implements the k-nearest neighbor algorithm that could be used to recognize arbitrary characters (characters of the MICR in this case). I did something like this using the Java bindings of OpenCV and it gave me good results.
This post got me started with the idea : https://stackoverflow.com/a/9620295/2644645
edit
Roughly, you could do :