Package ai.djl.modality.cv.output
Class Joints.Joint
java.lang.Object
ai.djl.modality.cv.output.Point
ai.djl.modality.cv.output.Joints.Joint
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Joints
A joint that was detected using Human Pose Estimation on an image.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJoint(double x, double y, double confidence) Constructs a Joint with given data. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the confidence probability for the joint.
-
Constructor Details
-
Joint
public Joint(double x, double y, double confidence) Constructs a Joint with given data.- Parameters:
x- the x coordinate of the jointy- the y coordinate of the jointconfidence- the confidence probability for the joint
-
-
Method Details
-
getConfidence
public double getConfidence()Returns the confidence probability for the joint.- Returns:
- the confidence
-