Class Pose.Landmark

java.lang.Object
com.codename1.ai.vision.Pose.Landmark
Enclosing class:
Pose

public static final class Pose.Landmark extends Object
One named body joint with normalized position and confidence.
  • Constructor Details

    • Landmark

      public Landmark(String name, VisionPoint position, float confidence)
      Creates one detected body joint.
      Parameters:
      name - joint name
      position - normalized joint position
      confidence - 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 unmapped
    • getPosition

      public VisionPoint getPosition()
      Returns:
      normalized top-left-origin joint position
    • getConfidence

      public float getConfidence()
      Returns:
      in-frame confidence in the range 0..1