Structure and Interface Configuration Parameter Macro Definition
General type interface description
Windows/Linux/Arm_Linux interface is described here, for Android interface please refer to Android interface description.
Structure and macro definition description
st_handle_t
Function: Handle for saving functions and data, need to call its corresponding destruct function to release and recycle memory
Declaration:
typedef void *st_handle_t;st_result_t
Function: Indicate returned error code.
Declaration:
typedef int st_result_t;struct stid_detection_result
Function: Face frame information.
Declaration:
typedef struct stid_detection_result {
cv_rect32i_t rect; ///< Result rect
float score; ///< Result score
int label; ///< result label
int orientation; ///< result orientation
unsigned int reserved1;
unsigned int reserved2;
} stid_detection_result_t;struct stid_landmarks
Function: Face key points information
Declaration:
struct stid_target
Function: Tracking result
Declaration:
stid_pose
Function: Posture angle information
Declaration:
stid_face_quality
Function: Face quality information
Declaration:
config (detect)
Function: Face detection mode
Declaration:
config (track)
Function: Use asynchronous tracking, recommend to use only when the detection model is slower and requires real-time preview
Declaration:
config (track)
Function: Face tracking mode
Declaration:
config (track)
Function: Set the maximum number of targets to track as N. The valid range is [1, 32] with a default value of 1. Continue to track the detected N targets until the number of targets is less than N, before continuing to detect again. Set as 1 for single-face tracking
Declaration:
Function: Face quality calculation flag
Declaration:
Last updated
Was this helpful?