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.
- 
ErrorCode Trueface::SDK::drawPose(const TFImage &tfImage, const std::string &filepath, const std::vector<std::vector<Landmark>> &landmarks)¶
 Draw body pose.
- Parameters
 tfImage – [in] the input image returned by preprocessImage().
filepath – [in] relative or absolute file path without a file extension.
landmarks – [in] a vector of Landmark objects that represent body joints.