Passport OCR
Extract passport information from an image or photo
Response Definition
http status
error_code
error_message
200
-
-
400
1001
Cannot process the image. The image must be in base64 format.
Key List
key
type
country_code
passport_number
surname_en
title_name_en
title_name_surname_th
nationality
date_of_birth
identification_number
sex
height
place_of_birth
date_of_issue
date_of_expiry
issuing_authority
holder_signature
mrz_1
mrz_2
Passport OCR
POST
https://apis.aigen.online/aiscript/passport-ocr/v1
Extract passport information from an image or photo
Request Body
Name
Type
Description
image*
String
Base64 image encoded string
Example code
Last updated