drawPose

fun Canvas.drawPose(detectedPose: DetectedPose, landmarkPaint: Paint, edgePaint: Paint, landmarkRadius: Float, bounds: PreviewImageBounds = bounds())

Draw given detectedPose on the Canvas using landmarkPaint and landmarkRadius for the pose vertices, and edgePaint for the pose edges.

If the preview image coordinates do not match the Canvas coordinates, bounds of the image preview should be provided.

See also