Body Pose Estimation¶
- SDK.estimate_pose(self: tfsdk.SDK, tf_image: tfsdk.TFImage, bounding_boxes: List[tfsdk.BoundingBox]) → List[List[tfsdk.Landmark]]¶
Estimate body pose.
- Parameters
tf_image – the input
tfsdk.TFImage
, returned bytfsdk.SDK.preprocess_image()
.bounding_boxes –
tfsdk.BoundingBoxes
returned bytfsdk.SDK.detect_objects()
.
- Returns
The
ERRORCODE
and a list of the bodytfsdk.Landmark
, in that order.
- SDK.draw_pose(self: tfsdk.SDK, tf_image: tfsdk.TFImage, filepath: str, landmarks: List[List[tfsdk.Landmark]]) → None¶
Draw body pose.
- Parameters
tf_image – the input
tfsdk.TFImage
, returned bytfsdk.SDK.preprocess_image()
.filepath – relative or absolute file path without a file extension.
landmarks – a list of
tfsdk.Landmark
returned bytfsdk.SDK.estimate_pose()
.