Hi Santhos
Here is the updated code for intialization
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
baseApi.init(DATA_PATH, "mcr");
baseApi.setImage(bitmap);
String recognizedText = baseApi.getUTF8Text();
baseApi.end();
Thanks
Juned Khan
On Wednesday, August 20, 2014 7:31:53 PM UTC+5:30, Santhosh Kumar wrote:
>
> Hi Juned,
>
> Could please post code snippet for MICR recognize in Android.
>
> I have downloaded 'mcr.traineddata' and saved it in assests.
>
> At runtime I have copied file into sdcard (OCR_DATA_PATH) and initialised
> Tessaract OCR engine with
>
> baseApi.init(OCR_DATA_PATH, 'mcr', TessBaseAPI.OEM_TESSARACT_ONLY);
>
> But I am getting Fatal signal 11 error.
>
> Please help me on this.
>
> Thanks
>
> Santhosh Kumar.K
>
> On Wednesday, August 20, 2014 7:00:26 PM UTC+5:30, Juned Khan wrote:
>
>> Thank you guys, I got this working for Android too.
>>
>> On Thursday, May 26, 2011 12:34:21 PM UTC+5:30, Hunter wrote:
>>>
>>> Does anyone have a MICR language file they are willing to share?
>>>
>>> I need to use Tesseract 2 (via TessNet2) to read cheque details.
>>> Tesseract has a lot of difficultly reading the MICR font on the bottom
>>> of the cheque so it will need to be trained. Rather than wasting a day
>>> attempting to do this, it would be very cool if someone has this
>>> already done. Even the box file would be a huge help.
>>>
>>> Thankyou in advance!
>>
>>
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/eec3af86-9382-4189-824d-35f9a0b5485b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.