Result Parsing

Result Format

Upon successful recognition, the function will provide a JSON-formatted string that contains the extracted information.

// Result Example:

{
	"Authority": "UNITED STATES DEPARTMENT OF STATE",
	"Date of Birth": "1965-02-05",
	"Date of Issue": "2020-10-15",
	"Document Class Code": "P",
	"Document Name": "Passport",
	"Document Number": "E00007730",
	"Full Name": "TRAVELER HAPPY",
	"Given Names": "HAPPY",
	"Images": {
		"Portrait": "...",
		"Document": "..."
	},
	"Issuing State Code": "USA",
	"Issuing State Name": "United States",
	"MRZ": {
		"Issuing State Name": "United States",
		"Given Names": "HAPPY",
		"Surname": "TRAVELER",
		"MRZ": "P<USATRAVELER<<HAPPY<<<<<<<<<<<<<<<<<<<<<<<<,E000077303USA6502056F3010149500101920<091824",
		"Date of Expiry": "2030-10-14",
		"Sex": "F",
		"Date of Birth": "1965-02-05",
		"Nationality Code": "USA",
		"Document Number": "E00007730",
		"Full Name": "TRAVELER HAPPY",
		"Issuing State Code": "USA",
		"Document Class Code": "P",
		"MRZ Type": "ID-3",
		"Validation": 1
	},
	"Nationality": "UNITED STATES OF AMERICA",
	"Place of Birth": "WASRINGTON, D.C., U.S.A.",
	"Position": {
		"x1": 0,
		"y1": 0,
		"x2": 1485,
		"y2": 1027
	},
	"Sex": "F",
	"Surname": "TRAVELER"
}

Field Name List

  • Address

  • Address Area

  • Address Building

  • Address City

  • Address Country

  • Address Flat

  • Address House

  • Address Jurisdiction Code

  • Address Location

  • Address Municipality

  • Address Postal Code

  • Address State

  • Address Street

  • Address Zipcode

  • Authority

  • Authority Code

  • Blood Group

  • Card Access Number

  • Category

  • Date of Birth

  • Date of Expiry

  • Date of Issue

  • DL Class

  • DL Endorsed

  • DL Restriction Code

  • Document Class Code

  • Document Class Name

  • Document Name

  • Document Number

  • DocumentDiscriminator

  • Eyes Color

  • Family Name

  • Father CountryOfBirth

  • Father DateOfBirth

  • Father GivenName

  • Father PersonalNumber

  • Father PlaceOfBirth

  • Father Surname

  • Fathers Name

  • First Name

  • Fourth Name

  • Full Name

  • Given Names

  • GrandfatherName

  • Hair Color

  • Height

  • Images

    • Document

    • Portrait

  • Issuing State Code

  • Issuing State Name

  • Last Name

  • Middle Name

  • Mother CountryOfBirth

  • Mother DateOfBirth

  • Mother GivenName

  • Mother PersonalNumber

  • Mother PlaceOfBirth

  • Mother Surname

  • Mothers Name

  • MRZ

    • MRZ

    • MRZ Type

    • Validation

  • Nationality

  • Nationality Code

  • Passport Number

  • Personal Number

  • Place of Birth

  • Place of Birth Area

  • Place Of Birth City

  • Place of Birth StateCode

  • Place of Issue

  • Place of Registration

  • Position

    • x1

    • y1

    • x2

    • y2

  • Reference Number

  • Second Name

  • Second Surname

  • Sex

  • Skin Color

  • Surname of Spouse

  • Third Name

  • Validation

  • Weight

  • Year Of Birth

  • Year Of Expiry

Last updated