PoseEdge

data class PoseEdge(start: PoseLandmark, end: PoseLandmark, probability: Float, label: String) : FlatShape<PoseEdge>

This data class represents the line connecting two points PoseLandmark of human's pose.

Constructors

PoseEdge
Link copied to clipboard
fun PoseEdge(start: PoseLandmark, end: PoseLandmark, probability: Float, label: String)

Functions

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

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

Properties

end
Link copied to clipboard
val end: PoseLandmark

The probability of the predicted class.

label
Link copied to clipboard
val label: String

The predicted pose edge label.

probability
Link copied to clipboard
val probability: Float

The probability of the predicted class.

start
Link copied to clipboard
val start: PoseLandmark

The probability of the predicted class.