Body Pose Estimation

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

Estimate body pose.

Parameters
  • tfImage[in] the input image returned by preprocessImage().

  • boundingBoxes[in] bounding boxes returned by detectObjects().

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

Returns

error code, see ErrorCode.

../_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.