konstantint / PassportEye

Extraction of machine-readable zone information from passports, visas and id-cards via OCR
MIT License
382 stars 110 forks source link

How can I get a full MRZ string from a passport image? #72

Open JackBekket opened 9 months ago

JackBekket commented 9 months ago

How can I get a full MRZ string from a passport image?

I am using https://github.com/JackBekket/passport-reader-python/tree/master which work with PassportEye

How can I get whole MRZ as string?

pibahamondesw commented 4 months ago

If you just use read_mrz from passporteye, you should get a field called raw_text which should contain the full MRZ string. As I can see, in that project they don't use all fields.