API Reference
init_sdk
Name | init_sdk |
Description | Initializes the SDK. |
Input |
|
Output | Status code indicating the result of the initialization.
|
get_attribute
Name | get_attribute |
Description | Detects and analyzes face. |
Input |
Wear_glass: 0 -> No, 1 -> Yes Eye_open: 0 -> Close, 1 -> Open Mouth_Close: 0 -> Close, 1 -> Open
0 -> SPOOF 1 -> REAL -3 -> TOO SMALL FACE -4 -> TOO LARGE FACE -102 -> NO FACE -103 -> LIVENESS CHECK FAILED
0 -> Male, 1 -> Female
0 -> No, 1 -> Yes
|
Output | Status code indicating the result of getting attribute.
|
calculate_similarity
Name | calculate_similarity |
Description | Calculates the similarity between two features |
Input |
|
Output | Similarity score between the two features The score ranges from 0.0 to 1.0 Default Threshold is 0.82 |
Last updated