-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question/enhancement] Country code in ISO format #63
Comments
Hi @omartinma! If you're interested in getting the ISO format of the nationality of the document owner, you can obtain it from the MrzResult class, to be more specific with the nationality, santiziedNationality values. So the code to obtain it would look like this:
Let me know if this helped. |
@mparadina great, that will help for Nationality and Issuing Country of the passport. What about place of birth? Thanks! |
Hi @omartinma The 'Place of birth' field depends if the field is present, and how it is displayed on the document. So, for example, if the place of birth field on the document contains the information 'California', then we will extract this information exactly as it is written. Let me know if you have any additional questions. |
Hi @omartinma Just wanted to check in to see if the issue can be closed? |
@omartinma closing the issue as it is inactive. |
@mparadina sorry, i was pending on this issue and now i am coming back to this feature. So for example in the case of California, will it return the country code associated? |
Hi,
Currently, I'm working on getting the nationality for a scanned passport and I would like to know if possible to get those in ISO format.
This would be beneficial since the result String would not be linked to any language, and ISO code is universally used for any API.
Also trying with a USA passport it gives me the wrong result on the nationality, so without that code, I can not even try to parse by String
Thanks!
The text was updated successfully, but these errors were encountered: