Keypoint

data class Keypoint(val x: Float, val y: Float, val z: Float? = null, val score: Float, val label: String? = null)

Represents a single keypoint in a pose.

Parameters

x

The x-coordinate of the keypoint.

y

The y-coordinate of the keypoint.

z

The z-coordinate (optional, for 3D poses).

score

The confidence score of the keypoint.

label

The label or name of the keypoint (e.g., "nose", "left_shoulder").

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, z: Float? = null, score: Float, label: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val x: Float
Link copied to clipboard
val y: Float
Link copied to clipboard
val z: Float?