I am trying to recognize MICR codes on cheques using Tessaract library in android.
For this I have downloaded 'mcr.traineddata' and saved it in assests. Using this MICR code not recognize that. mcr.traineddata file downloaded here
it show wrong micr code
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
baseApi.init(DATA_PATH, "mcr");
baseApi.setImage(bitmap);
String recognizedText = baseApi.getUTF8Text();
baseApi.end();
Any ideas, suggestions and advice will be appreciated.