ailia  1.5.0.0
Classes | Macros | Typedefs | Functions
ailia_pose_estimator.h File Reference

AILIA library for human pose estimation and human face landmarks extraction. More...

#include "ailia.h"
#include "ailia_format.h"
Include dependency graph for ailia_pose_estimator.h:

Go to the source code of this file.

Classes

struct  _AILIAPoseEstimatorKeypoint
 
struct  _AILIAPoseEstimatorObjectPose
 
struct  _AILIAPoseEstimatorObjectFace
 
struct  _AILIAPoseEstimatorObjectUpPose
 
struct  _AILIAPoseEstimatorObjectHand
 

Macros

#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_POSE   (0)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_FACE   (1)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_UPPOSE   (2)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_UPPOSE_FPGA   (3)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_HAND   (5)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_OPEN_POSE   (10)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_LW_HUMAN_POSE   (11)
 
#define AILIA_POSE_ESTIMATOR_ALGORITHM_OPEN_POSE_SINGLE_SCALE   (12)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_NOSE   (0)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EYE_LEFT   (1)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EYE_RIGHT   (2)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EAR_LEFT   (3)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EAR_RIGHT   (4)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_LEFT   (5)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_RIGHT   (6)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ELBOW_LEFT   (7)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ELBOW_RIGHT   (8)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_WRIST_LEFT   (9)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_WRIST_RIGHT   (10)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_HIP_LEFT   (11)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_HIP_RIGHT   (12)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_KNEE_LEFT   (13)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_KNEE_RIGHT   (14)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ANKLE_LEFT   (15)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ANKLE_RIGHT   (16)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_CENTER   (17)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_BODY_CENTER   (18)
 
#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_CNT   (19)
 
#define AILIA_POSE_ESTIMATOR_FACE_KEYPOINT_CNT   (68)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_NOSE   (0)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EYE_LEFT   (1)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EYE_RIGHT   (2)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EAR_LEFT   (3)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EAR_RIGHT   (4)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_LEFT   (5)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_RIGHT   (6)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_ELBOW_LEFT   (7)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_ELBOW_RIGHT   (8)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_WRIST_LEFT   (9)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_WRIST_RIGHT   (10)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_HIP_LEFT   (11)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_HIP_RIGHT   (12)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_CENTER   (13)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_BODY_CENTER   (14)
 
#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_CNT   (15)
 
#define AILIA_POSE_ESTIMATOR_HAND_KEYPOINT_CNT   (21)
 
#define AILIA_POSE_ESTIMATOR_OBJECT_POSE_VERSION   (1)
 
#define AILIA_POSE_ESTIMATOR_OBJECT_FACE_VERSION   (1)
 
#define AILIA_POSE_ESTIMATOR_OBJECT_UPPOSE_VERSION   (1)
 
#define AILIA_POSE_ESTIMATOR_OBJECT_HAND_VERSION   (1)
 

Typedefs

typedef struct _AILIAPoseEstimatorKeypoint AILIAPoseEstimatorKeypoint
 
typedef struct _AILIAPoseEstimatorObjectPose AILIAPoseEstimatorObjectPose
 
typedef struct _AILIAPoseEstimatorObjectFace AILIAPoseEstimatorObjectFace
 
typedef struct _AILIAPoseEstimatorObjectUpPose AILIAPoseEstimatorObjectUpPose
 
typedef struct _AILIAPoseEstimatorObjectHand AILIAPoseEstimatorObjectHand
 

Functions

int AILIA_API ailiaCreatePoseEstimator (struct AILIAPoseEstimator **pose_estimator, struct AILIANetwork *net, unsigned int algorithm)
 Creates a estimator instance. More...
 
void AILIA_API ailiaDestroyPoseEstimator (struct AILIAPoseEstimator *pose_estimator)
 Destroys the estimator instance. More...
 
int AILIA_API ailiaPoseEstimatorSetThreshold (struct AILIAPoseEstimator *pose_estimator, float threshold)
 Set the detection threshold. More...
 
int AILIA_API ailiaPoseEstimatorCompute (struct AILIAPoseEstimator *pose_estimator, const void *src, unsigned int src_stride, unsigned int src_width, unsigned int src_height, unsigned int src_format)
 Performs human pose estimation and human face landmarks extraction. More...
 
int AILIA_API ailiaPoseEstimatorGetObjectCount (struct AILIAPoseEstimator *pose_estimator, unsigned int *obj_count)
 Gets the number of detection results. More...
 
int AILIA_API ailiaPoseEstimatorGetObjectPose (struct AILIAPoseEstimator *pose_estimator, AILIAPoseEstimatorObjectPose *obj, unsigned int obj_idx, unsigned int version)
 Gets the results of the human pose estimation. More...
 
int AILIA_API ailiaPoseEstimatorGetObjectFace (struct AILIAPoseEstimator *pose_estimator, AILIAPoseEstimatorObjectFace *obj, unsigned int obj_idx, unsigned int version)
 Gets the results of the human face landmarks extraction. More...
 
int AILIA_API ailiaPoseEstimatorGetObjectUpPose (struct AILIAPoseEstimator *pose_estimator, AILIAPoseEstimatorObjectUpPose *obj, unsigned int obj_idx, unsigned int version)
 Gets the results of the human up pose estimation. More...
 
int AILIA_API ailiaPoseEstimatorGetObjectHand (struct AILIAPoseEstimator *pose_estimator, AILIAPoseEstimatorObjectHand *obj, unsigned int obj_idx, unsigned int version)
 Gets the results of the human hand estimation. More...
 

Detailed Description

AILIA library for human pose estimation and human face landmarks extraction.

Date
July 28, 2021

Macro Definition Documentation

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_FACE

#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_FACE   (1)

Human face landmarks extraction

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_HAND

#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_HAND   (5)

Human hand estimation

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_POSE

#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_POSE   (0)

Human pose estimation

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_UPPOSE

#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_UPPOSE   (2)

Human upper body pose estimation

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_UPPOSE_FPGA

#define AILIA_POSE_ESTIMATOR_ALGORITHM_ACCULUS_UPPOSE_FPGA   (3)

Human upper body pose estimation(FPGA)

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_LW_HUMAN_POSE

#define AILIA_POSE_ESTIMATOR_ALGORITHM_LW_HUMAN_POSE   (11)

Human pose estimation

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_OPEN_POSE

#define AILIA_POSE_ESTIMATOR_ALGORITHM_OPEN_POSE   (10)

Human pose estimation

◆ AILIA_POSE_ESTIMATOR_ALGORITHM_OPEN_POSE_SINGLE_SCALE

#define AILIA_POSE_ESTIMATOR_ALGORITHM_OPEN_POSE_SINGLE_SCALE   (12)

Human pose estimation

◆ AILIA_POSE_ESTIMATOR_FACE_KEYPOINT_CNT

#define AILIA_POSE_ESTIMATOR_FACE_KEYPOINT_CNT   (68)

Count

◆ AILIA_POSE_ESTIMATOR_HAND_KEYPOINT_CNT

#define AILIA_POSE_ESTIMATOR_HAND_KEYPOINT_CNT   (21)

Count

◆ AILIA_POSE_ESTIMATOR_OBJECT_FACE_VERSION

#define AILIA_POSE_ESTIMATOR_OBJECT_FACE_VERSION   (1)

Version of the struct format

◆ AILIA_POSE_ESTIMATOR_OBJECT_HAND_VERSION

#define AILIA_POSE_ESTIMATOR_OBJECT_HAND_VERSION   (1)

Version of the struct format

◆ AILIA_POSE_ESTIMATOR_OBJECT_POSE_VERSION

#define AILIA_POSE_ESTIMATOR_OBJECT_POSE_VERSION   (1)

Version of the struct format

◆ AILIA_POSE_ESTIMATOR_OBJECT_UPPOSE_VERSION

#define AILIA_POSE_ESTIMATOR_OBJECT_UPPOSE_VERSION   (1)

Version of the struct format

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ANKLE_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ANKLE_LEFT   (15)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ANKLE_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ANKLE_RIGHT   (16)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_BODY_CENTER

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_BODY_CENTER   (18)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_CNT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_CNT   (19)

Count

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EAR_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EAR_LEFT   (3)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EAR_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EAR_RIGHT   (4)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ELBOW_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ELBOW_LEFT   (7)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ELBOW_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_ELBOW_RIGHT   (8)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EYE_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EYE_LEFT   (1)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EYE_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_EYE_RIGHT   (2)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_HIP_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_HIP_LEFT   (11)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_HIP_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_HIP_RIGHT   (12)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_KNEE_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_KNEE_LEFT   (13)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_KNEE_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_KNEE_RIGHT   (14)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_NOSE

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_NOSE   (0)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_CENTER

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_CENTER   (17)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_LEFT   (5)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_SHOULDER_RIGHT   (6)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_WRIST_LEFT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_WRIST_LEFT   (9)

◆ AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_WRIST_RIGHT

#define AILIA_POSE_ESTIMATOR_POSE_KEYPOINT_WRIST_RIGHT   (10)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_BODY_CENTER

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_BODY_CENTER   (14)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_CNT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_CNT   (15)

Count

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EAR_LEFT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EAR_LEFT   (3)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EAR_RIGHT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EAR_RIGHT   (4)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_ELBOW_LEFT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_ELBOW_LEFT   (7)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_ELBOW_RIGHT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_ELBOW_RIGHT   (8)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EYE_LEFT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EYE_LEFT   (1)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EYE_RIGHT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_EYE_RIGHT   (2)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_HIP_LEFT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_HIP_LEFT   (11)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_HIP_RIGHT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_HIP_RIGHT   (12)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_NOSE

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_NOSE   (0)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_CENTER

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_CENTER   (13)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_LEFT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_LEFT   (5)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_RIGHT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_SHOULDER_RIGHT   (6)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_WRIST_LEFT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_WRIST_LEFT   (9)

◆ AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_WRIST_RIGHT

#define AILIA_POSE_ESTIMATOR_UPPOSE_KEYPOINT_WRIST_RIGHT   (10)

Typedef Documentation

◆ AILIAPoseEstimatorKeypoint

◆ AILIAPoseEstimatorObjectFace

◆ AILIAPoseEstimatorObjectHand

◆ AILIAPoseEstimatorObjectPose

◆ AILIAPoseEstimatorObjectUpPose

Function Documentation

◆ ailiaCreatePoseEstimator()

int AILIA_API ailiaCreatePoseEstimator ( struct AILIAPoseEstimator **  pose_estimator,
struct AILIANetwork *  net,
unsigned int  algorithm 
)

Creates a estimator instance.

Parameters
pose_estimatorAn estimator instance pointer
netThe network instance pointer
algorithmEstimation algorithm(AILIA_POSE_ESTIMATOR_ALGORITHM_*)
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

This function creates an estimator instance from AILIANetwork when reading caffemodel and prototxt.

◆ ailiaDestroyPoseEstimator()

void AILIA_API ailiaDestroyPoseEstimator ( struct AILIAPoseEstimator *  pose_estimator)

Destroys the estimator instance.

Parameters
pose_estimatorAn estimator instance pointer

◆ ailiaPoseEstimatorCompute()

int AILIA_API ailiaPoseEstimatorCompute ( struct AILIAPoseEstimator *  pose_estimator,
const void *  src,
unsigned int  src_stride,
unsigned int  src_width,
unsigned int  src_height,
unsigned int  src_format 
)

Performs human pose estimation and human face landmarks extraction.

Parameters
pose_estimatorAn estimator instance pointer
srcImage data (32 bpp)
src_strideThe number of bytes in 1 line
src_widthImage width
src_heightImage height
src_formatImage format (AILIA_IMAGE_FORMAT_*)
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaPoseEstimatorGetObjectCount()

int AILIA_API ailiaPoseEstimatorGetObjectCount ( struct AILIAPoseEstimator *  pose_estimator,
unsigned int *  obj_count 
)

Gets the number of detection results.

Parameters
pose_estimatorAn estimator instance pointer
obj_countThe number of objects. Set to 1 or 0 for human face landmarks.
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaPoseEstimatorGetObjectFace()

int AILIA_API ailiaPoseEstimatorGetObjectFace ( struct AILIAPoseEstimator *  pose_estimator,
AILIAPoseEstimatorObjectFace obj,
unsigned int  obj_idx,
unsigned int  version 
)

Gets the results of the human face landmarks extraction.

Parameters
pose_estimatorAn estimator instance pointer
objObject information
obj_idxObject index. Ensure that 0 is specified.
versionAILIA_POSE_ESTIMATOR_OBJECT_FACE_VERSION
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaPoseEstimatorGetObjectHand()

int AILIA_API ailiaPoseEstimatorGetObjectHand ( struct AILIAPoseEstimator *  pose_estimator,
AILIAPoseEstimatorObjectHand obj,
unsigned int  obj_idx,
unsigned int  version 
)

Gets the results of the human hand estimation.

Parameters
pose_estimatorAn estimator instance pointer
objObject information
obj_idxObject index. Ensure that 0 is specified.
versionAILIA_POSE_ESTIMATOR_OBJECT_HAND_VERSION
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaPoseEstimatorGetObjectPose()

int AILIA_API ailiaPoseEstimatorGetObjectPose ( struct AILIAPoseEstimator *  pose_estimator,
AILIAPoseEstimatorObjectPose obj,
unsigned int  obj_idx,
unsigned int  version 
)

Gets the results of the human pose estimation.

Parameters
pose_estimatorAn estimator instance pointer
objObject information
obj_idxObject index
versionAILIA_POSE_ESTIMATOR_OBJECT_POSE_VERSION
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaPoseEstimatorGetObjectUpPose()

int AILIA_API ailiaPoseEstimatorGetObjectUpPose ( struct AILIAPoseEstimator *  pose_estimator,
AILIAPoseEstimatorObjectUpPose obj,
unsigned int  obj_idx,
unsigned int  version 
)

Gets the results of the human up pose estimation.

Parameters
pose_estimatorAn estimator instance pointer
objObject information
obj_idxObject index
versionAILIA_POSE_ESTIMATOR_OBJECT_UPPOSE_VERSION
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaPoseEstimatorSetThreshold()

int AILIA_API ailiaPoseEstimatorSetThreshold ( struct AILIAPoseEstimator *  pose_estimator,
float  threshold 
)

Set the detection threshold.

Parameters
pose_estimatorAn estimator instance pointer
thresholdThe detection threshold (for example, 0.1f) (The smaller it is, the easier the detection will be and the more detected objects found.)
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.