PoseLandmark

data class PoseLandmark(x: Float, y: Float, probability: Float, label: String) : FlatShape<PoseLandmark>

This data class represents one point of the detected human's pose.

Constructors

PoseLandmark
Link copied to clipboard
fun PoseLandmark(x: Float, y: Float, probability: Float, label: String)

Functions

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

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

Properties

label
Link copied to clipboard
val label: String

The predicted pose landmark label.

probability
Link copied to clipboard
val probability: Float

The probability of the predicted class.

x
Link copied to clipboard
val x: Float

The value of x coordinate.

y
Link copied to clipboard
val y: Float

The value of y coordinate.