Body Pose Estimation

void Trueface::SDK::estimatePose(const std::vector<BoundingBox> &boundingBoxes, std::vector<std::vector<Landmark>> &landmarks)

Estimate body pose.

Parameters
  • [in] boundingBoxes: bounding boxes returned by detectObjects

  • [out] landmarks: a vector of Landmark objects that represent body joints.

void Trueface::SDK::drawPose(std::string filepath, const std::vector<std::vector<Landmark>> &landmarks)

Draw body pose.

Parameters
  • [in] filepath: relative or absolute file path without a file extension.

  • [in] landmarks: a vector of Landmark objects that represent body joints.

../_images/pose_image.jpg
struct Trueface::Landmark

Landmark representing body joint.

Public Members

Point<float> point

Coordinate of the joint

float score

Score for the joint

std::string label

Label for the joint