android-vision icon indicating copy to clipboard operation
android-vision copied to clipboard

Hardly to detect MRZ text

Open MkMehdi opened this issue 8 years ago • 9 comments

Hello;

First thank you so much for this brilliant library :+1:

Well my issue is when I want try detect MRZ text gives me a wrong result .. is there any configuration can do for get better result !

Thank you :))

MkMehdi avatar Jul 14 '16 10:07 MkMehdi

Would you mind clarifying what you mean by MRZ text?

Note that the Text Recognition API only supports languages that use Latin characters. See our site for details:

https://developers.google.com/vision/text-overview

pchx-zz avatar Jul 14 '16 14:07 pchx-zz

Thank you for you reply :+1: Well to be clear text like that : I<UTOSTEVENSON<<PETER<<<<<<<<<<<<<<< D231458907UTO3407127M9507122<<<<<<<2 the alphabets detect fine but the difficult with "<" sometimes change it to "s" but not all characters... Is there any configuration can do to get the result more clear ?

Regards;

MkMehdi avatar Jul 14 '16 16:07 MkMehdi

Hello.Does this library read MRZ lines? I am also interested in reading MRZ lines

bdhobare avatar Nov 19 '16 11:11 bdhobare

The Text API isn't specifically optimized for reading MRZ text, but is certainly capable of reading any Latin text (though it may be less accurate in those cases).

pchx-zz avatar Nov 21 '16 22:11 pchx-zz

Can anyone suggest a better option to read MRZ, text api is not helping out with MRZ.

parulsngh avatar Feb 18 '19 12:02 parulsngh

Try OCRB.traineddata. Usage: tesseract input.jpg output.txt -l OCRB

ajinkya933 avatar Feb 19 '19 10:02 ajinkya933

Have tried the tess-two, its working fine but some time it suddenly stops reading text from image and again starts reading by its own. Didn't figured out the reason for same.

parulsngh avatar Feb 19 '19 10:02 parulsngh

Tesseract needs proper input image try changing the image input by applying morphological transforms/ text localization algorithms and then run it through tesseract

ajinkya933 avatar Feb 26 '19 07:02 ajinkya933

close #110

ajinkya933 avatar Mar 01 '19 04:03 ajinkya933