Skip to main content

OCR Passport API

POSThttps://ocrpassport.infer.visai.ai/predict
Header
    X-API-Key string required

    Your API key

form-data body

Request Body
  • files Filerequired

    Passport image files in a form of multi-part form data using the key name files.

Responses


Schema
  • Array [
  • object
    status string

    success | failed

    Status of request

    data object
    confidence float

    The level of confidence

    fields object
    name string
    surname string
    date_of_birth string
    gender string

    M for male | F for female

    country_code string
    country_name string
    passport_number string
    passport_type string
    date_of_expiry string
    identification_number string

    (Only Thai passport)

  • ]
Loading...