Passport

This table lists the entities returned by the OCR model for a passport. Supports passports only from Australia, Canada, United Kingdom, and United States.

Entity name

Additional Info

Possible form keys

authority

Authority

code

Country code.

Code

country

Country code.

date_of_birth

Date of birth

expiration_date

Date of expiration
Date of expiry

first_name

Returned if the first name is on a separate line.

Given name.

gender

Sex

issue_country

In some passports, the issuing country is in the Code field.

Issuing Country

issue_date

Date of issue
Date of Issue

last_name

Returned if the first name is on a separate line.

Surname

name

Returns the full name.

Name

nationality

Nationality

number

Passport No.
DOCUMENT No.

place_of_birth

Depending on the passport, this value can be a city or a state and country.

Place of birth

type

Each country has their own passport types.

Type/Type