Version 1

POST https://okayiddemo.innov8tif.com/okayid/api/v1/th-ocr

Request Body

NameTypeDescription

apiKey

string

To be assigned by Innov8tif

base64ImageString

string

Front ID card image in base64 encrypted string

backImage

string

Back ID card image in base64 encrypted string

faceImageEnabled

string

Set to True. Return cropped id face image

{
    "status": "success",
    "message": "successfully performed OCR ",
    "front_detection_score": 0.836729072034359,
    "address": "ฒนามสกุล ดี. เณฑ๒",
    "en_dob": "11 Apr. 1979",
    "en_expire": "11 Apr. 2018",
    "en_fname": "Natta",
    "en_init": "Miss",
    "en_issue": "11 Mar. 2009",
    "en_lname": "Chaichua",
    "face": "/9j/4AAQSkZJ.......",
    "id_number": "3123300144131",
    "religion": "",
    "th_dob": "ฒนามสกุล น ด",
    "th_expire": "11 เม.ย. 2558",
    "th_fname": "",
    "th_init": "",
    "th_issue": "11 มี.ค. 2552",
    "th_lname": "",
    "back_detection_score": 0.9875280658404033,
    "back_number": "-"
}

Input Example

{
    "base64ImageString": "/9j/4AAQS......",
    "backImage":"/9j/4AAQ.......",
    "apiKey":"apikey",               
    "faceImageEnabled":true
}

Last updated