Philippines Driver's License OCR API
The Philippines Driver’s License OCR API allows you to extract and recognize key information from a Philippines Driver’s License using Optical Character Recognition (OCR) technology. The extracted information includes the license number and the name of the license holder.
Features
- License Number Recognition: Automatically detect and extract the license number from the driver’s license.
- Name Recognition: Automatically detect and extract the name of the license holder.
- High Accuracy: Utilizes advanced OCR technology to ensure high accuracy in text recognition.
- Fast Processing: Quickly process and return the extracted information.
Usage
To use this Driver’s License OCR API, you need to send an image of the Philippines Driver’s License. The API will process the image and return the recognized information in a structured format.
Code example:
Response for recognition success
Response for recognition fail
Response for invalid request parameters
Response for invalid image format
Response for image size larger than 2M
Response for server error
HTTP request
POST https://api.ekycpro.com/v1/ph_ocr_dl/general
Request parameters
parameter | description |
---|---|
img | string , base64 encoded image. It is recommended that the image be less than 200KB, so it will be returned within 2 seconds, otherwise the return time will be longer. |
Response format
fields | description |
---|---|
status | status code |
message | name : full name lastName : last name firstName : first name middleName : middle name nationality : citizenship sex : gender, ‘M’ or ‘F’ address : address licenseNo : license number expiresDate : license expiry Date agencyCode : agency code birthday : date of birth |
Status code
status | description |
---|---|
OK | charge , success |
FAIL | charge , image recognition error, please check input image |
INVALID_REQUEST | free , invalid request parameters |
IMAGE_INVALID_FORMAT | free , invalid image format, image format should be one of jpeg/jpg/png/bmp |
IMAGE_INVALID_SIZE | free , invalid image size, should be less than 2M |
INNER_ERROR | free , server error |