API Reference
init_sdk
Name | init_sdk |
Description | Initializes the SDK. |
Input | None |
Output | Status code indicating the result of the initialization.
|
get_attribute
Name | get_attribute |
Description | Detects and analyzes face. |
Input |
|
Output | Status code indicating the result of getting attribute.
|
Here is FaceResult
Structure.
(x1, y1) | Coordinate of the top-left corner of the bounding box of the detected face. |
(x2, y2) | Coordinate of the bottom-right corner of the bounding box of the detected face. |
liveness | Liveness score of detected face
|
mask | Mask detection of the detected face
|
glass | Glass detection of the detected face
|
age | Estimated age of the detected face |
gender | Gender prediction of the detected face
|
feature | Template buffer. Extracted template will be stored |
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