öffentliche abstrakte Klasse NormalizedKeypoint
Die normalisierte Keypoint-Funktion stellt einen Punkt im 2D-Raum mit x- und y-Koordinaten dar. x und y werden durch die Bildbreite bzw. -höhe auf [0,0, 1,0] normalisiert.
Public Constructors
Public Methods
| static NormalizedKeypoint |
create(Gleitkommazahl x, Gleitkommazahl y, Optionales<String>-Label, Optionaler<Gleitkommawert>)
Erstellt eine
NormalizedKeypoint-Instanz aus normalisierten x- und y-Koordinaten und dem optionalen Label- und Keypoint-Wert. |
| static NormalizedKeypoint |
create(Gleitkommazahl x, Gleitkommazahl y)
Erstellt eine
NormalizedKeypoint-Instanz aus normalisierten x- und y-Koordinaten. |
| finaler boolescher Wert |
ist gleich(Objekt o)
|
| finale Ganzzahl |
hashCode()
|
| abstrakt Optional<String> |
label()
|
| abstrakt Optional<Float> |
score()
|
| final String |
toString()
|
| Abstrakte Gleitkommazahl |
x()
|
| Abstrakte Gleitkommazahl |
y()
|
Übernommene Methoden
Public Constructors
public NormalizedKeypoint ()
Public Methods
public static NormalizedKeypoint create (Gleitkommazahl x, Gleitkommazahl y, Optional<String>-Label, Optional<Gleitkomma>-Punktzahl)
Erstellt eine NormalizedKeypoint-Instanz aus normalisierten x- und y-Koordinaten und dem optionalen Label- und Keypoint-Wert.
Parameter
| x | x-Koordinaten des normalisierten Keypoint-Werts. |
|---|---|
| y | y-Koordinaten des normalisierten Schlüsselpunkts aus. |
| Label | optionales Label des Keypoint-Elements. |
| score | optionaler Wert für den Keypoint. |
public static NormalizedKeypoint create (Gleitkommazahl x, Gleitkommazahl y)
Erstellt eine NormalizedKeypoint-Instanz aus normalisierten x- und y-Koordinaten.
Parameter
| x | x-Koordinaten des normalisierten Keypoint-Werts. |
|---|---|
| y | y-Koordinaten des normalisierten Schlüsselpunkts aus. |