public abstract class
NormalizedKeypoint
Normalized keypoint represents a point in 2D space with x, y coordinates. x and y are normalized to [0.0, 1.0] by the image width and height respectively.
Public Constructors
Public Methods
| static NormalizedKeypoint | |
| static NormalizedKeypoint |
create(float x, float y)
Creates a
NormalizedKeypoint instance from normalized x and y coordinates. |
| final boolean | |
| final int |
hashCode()
|
| abstract Optional<String> |
label()
|
| abstract Optional<Float> |
score()
|
| final String |
toString()
|
| abstract float |
x()
|
| abstract float |
y()
|
Inherited Methods
Public Constructors
public NormalizedKeypoint ()
Public Methods
public static NormalizedKeypoint create (float x, float y, Optional<String> label, Optional<Float> score)
Creates a NormalizedKeypoint instance from normalized x and y coordinates, and the
optional label and keypoint score.
Parameters
| x | the x coordinates of the normalized keypoint. |
|---|---|
| y | the y coordinates of the normalized keypoint. |
| label | optional label of the keypoint. |
| score | optional score of the keypoint. |
public static NormalizedKeypoint create (float x, float y)
Creates a NormalizedKeypoint instance from normalized x and y coordinates.
Parameters
| x | the x coordinates of the normalized keypoint. |
|---|---|
| y | the y coordinates of the normalized keypoint. |