So I want to recognize the MRZ portion of passport from a captured image,tried several OCR implementations for Android i.e Text Recognition API,MLKit etc. but none of them produces satisfactory results for recognizing MRZ.

Are there any open source libraries available for recognizing MRZ? or any OpenCV implementation for specifically recognizing the MRZ portion of passport.

enter image description here

  • 1
    I have done a lot of research recently and I have not been able to get any reliable open source SDK for MRZ. Almost all open source examples are either not up to date or are crappy and not working. Nov 8, 2018 at 9:55

1 Answer 1


You can find this example


It's not working very perfect but could be useful in some cases.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.