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.BoundingBoxesreturned bytfsdk.SDK.detect_objects().
- Returns
The
ERRORCODEand 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.Landmarkreturned bytfsdk.SDK.estimate_pose().