public static final class Pose.Landmark
- Object
- Pose.Landmark
One named body joint with normalized position and confidence.
Constructors
public Landmark(String name, VisionPoint position, float confidence) | Creates one detected body joint. |
Methods
public String getName() | Returns the stable lower-camel-case joint name described by Pose. |
public VisionPoint getPosition() | |
public float getConfidence() |
Inherited methods
Constructor details
Landmark
public Landmark(String name, VisionPoint position, float confidence)Creates one detected body joint.
Parameters
nameString- joint name
positionVisionPoint- normalized joint position
confidencefloat- in-frame confidence in 0..1
Method details
getName
public String getName()Returns the stable lower-camel-case joint name described by
Pose. Known native constants are normalized rather than
exposed as platform-specific numeric or symbolic identifiers.Returns
backend-neutral joint name, or
unknown if unmappedgetPosition
public VisionPoint getPosition()Returns
normalized top-left-origin joint position
getConfidence
public float getConfidence()Returns
in-frame confidence in the range 0..1