Keypoint

constructor(x: Float, y: Float, z: Float? = null, score: Float, label: String? = null)

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").