API Reference
get_version
Name | get_version |
Description | Retrieves the SDK version information from a library. |
Input | None |
Output | The version string is returned as a standard Python string. |
get_deviceid
Name | get_deviceid |
Description | Retrieves the Hardware ID from a library. |
Input | None |
Output | The Hardware ID is returned as a standard Python string. |
init_sdk
Name | init_sdk |
Description | Initializes the SDK in online mode. |
Input |
|
Output | Status code indicating the result of the initialization.
|
init_sdk_offline
Name | init_sdk_offline |
Description | Initializes the SDK in offline mode. |
Input |
|
Output | Status code indicating the result of the initialization.
|
detect_face_rgb
Name | detect_face_rgb |
Description | Detects and analyzes face. |
Input |
|
Output | Status code indicating the result of the liveness check.
|
Liveness Score Values (Default Threshold is 0)
>Threshold | REAL |
<=Threshold | FAKE |
-100 | TOO SMALL FACE |
-200 | FACE CUT OFF |
-300 | TOO TURNED FACE |
-400 | COVERED FACE |
-500 | MULTIPLE FACES |
-600 | DEEP FAKE DETECTED |
Last updated