API Reference
get_deviceid
Name | get_device_id |
Description | Retrieves the Hardware ID from a library. |
Input | None |
Output | The Hardware ID is returned as a standard Python string. |
set_activation
Name | set_activation |
Description | Activates the OCR engine using the provided license key. |
Input |
|
Output | A JSON-formatted string containing the result of the activation Typically includes an "errorCode" field indicating the status of the activation.
|
init_sdk
Name | init_sdk |
Description | Initializes the OCR engine with the required dictionary files. |
Input |
|
Output | A JSON-formatted string containing the result of the initialization. Typically includes an "errorCode" field indicating the status of the initialization.
|
ocr_id_card
Name | ocr_id_card |
Description | Extracts data from ID card |
Input |
|
Output | A JSON-formatted string containing the OCR results. |
Example of ID OCR results
ocr_credit_card
Name | ocr_credit_card |
Description | Etracts data from credit card |
Input |
|
Output | A JSON-formatted string containing the OCR results. |
ocr_barcode
Name | ocr_barcode |
Description | Etracts data from barcode |
Input |
|
Output | A JSON-formatted string containing the OCR results. |
Last updated