43 virtual void predictPose(
unsigned char* frame,
int w,
int h,
int format,
dface::Box &in_bbox, std::vector<dface::Point> &out_landmark, std::vector<double> &out_head_pose) = 0;
56 virtual void setCameraParameter(
float focalLength,
float opticalCenterX,
float opticalCenterY) = 0;
DfacePose()
Definition: dface_pose.h:24
DfacePose * CreatePose(const std::string &model_path)
Definition: dface_pose.h:65
Face Box.
Definition: common.h:92
void DestroyPose(DfacePose *dc)
Definition: dface_pose.h:71
virtual ~DfacePose()
Definition: dface_pose.h:29
#define DFACE_EXPORTS
Definition: common.h:19
FacePose API.
Definition: dface_pose.h:18