User Guide

User Guide

  • Conversation
  • Vision
  • Speech
  • Languages iconEnglish
    • Tiếng Việt

›API

Documentation

  • Driver's License Recognition
  • ID Recognition

API

  • Driver's License Recognition
  • ID Recognition

API

ID Recognition

HTTP Request

POST http://api.openfpt.vn/cmt

POST Data

Contain data to be processed.

For image data, there a are 3 options, please pick only one:

image: file image form data

image_url: image url

image_base64: image base64

For face recognition:

face: 1 to enable, 0 to disable, default is 0

Header Parameters

Parameter Required Default Description
api_key Yes Your api key(Get from Console)

Response

Contain extracted data from image and cropped image of face if enable

Sample Request

curl -X POST 
  https://api.openfpt.vn/cmt
  -H "api_key: xxxxxxx"
  -F "image_url=/link/to/image"

Sample Response: Success

{
  "errorCode" : 0, 
  "errorMessage" : "",
  "data": [
    {   
      "id": "xxxx", 
      "id_prob": "xxxx", 
      "name": "xxxx", 
      "name_prob": "xxxx", 
      "dob": "xxxx", 
      "dob_prob": "xxxx", 
      "sex": "N/A", 
      "sex_prob": "N/A", 
      "nationality": "N/A", 
      "nationality_prob": "N/A", 
      "home": "xxxx", 
      "home_prob": "xxxx", 
      "address": "xxxx", 
      "address_prob": "xxxx", 
      "doe": "N/A", 
      "doe_prob": "N/A" 
    } 
  ]
}
← Driver's License Recognition
  • HTTP Request
  • POST Data
  • Header Parameters
  • Response
    • Sample Request
    • Sample Response: Success
Conversation
DocumentationTutorials (Video)API Reference
Vision
DocumentationAPI Reference
Speech
DocumentationAPI Reference
Copyright © 2019 FPT Corporation