Class Joints.Joint

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Joints

    public static class Joints.Joint
    extends Point
    A joint that was detected using Human Pose Estimation on an image.
    See Also:
    Joints, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Joint​(double x, double y, double confidence)
      Constructs a Joint with given data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getConfidence()
      Returns the confidence probability for the joint.
      java.lang.String toString()
      • Methods inherited from class ai.djl.modality.cv.output.Point

        getX, getY
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Joint

        public Joint​(double x,
                     double y,
                     double confidence)
        Constructs a Joint with given data.
        Parameters:
        x - the x coordinate of the joint
        y - the y coordinate of the joint
        confidence - the confidence probability for the joint
    • Method Detail

      • getConfidence

        public double getConfidence()
        Returns the confidence probability for the joint.
        Returns:
        the confidence
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object