DetectedPose

data class DetectedPose(landmarks: List<PoseLandmark>, edges: List<PoseEdge>) : FlatShape<DetectedPose>

This data class represents the human's pose detected on the given image.

Constructors

DetectedPose
Link copied to clipboard
fun DetectedPose(landmarks: List<PoseLandmark>, edges: List<PoseEdge>)

Functions

map
Link copied to clipboard
open override fun map(mapping: (Float, Float) -> Pair<Float, Float>): DetectedPose

Creates a new geometric shape of the same type by applying the provided mapping to the coordinates of the current shape.

Properties

edges
Link copied to clipboard
val edges: List<PoseEdge>

The list of edges connecting the detected PoseLandmarks.

landmarks
Link copied to clipboard
val landmarks: List<PoseLandmark>

The list of detected PoseLandmarks for the given image.