Closed omartinma closed 5 months ago
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:
result.mrzResult.santiziedNationality;
result.mrzResult.nationality;
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. You can check if this field is present on each document you're scanning here in our documentation. You can also see which information we always read from the MRZ here.
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. Feel free to reopen it if anything comes up!
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!