A normalized keypoint.
mp.tasks.components.containers.keypoint.NormalizedKeypoint(
x: Optional[float] = None,
y: Optional[float] = None,
label: Optional[str] = None,
score: Optional[float] = None
)
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.
Attributes |
x
|
The x coordinates of the normalized keypoint.
|
y
|
The y coordinates of the normalized keypoint.
|
label
|
The optional label of the keypoint.
|
score
|
The score of the keypoint.
|
Methods
__eq__
View source
__eq__(
other: Any
) -> bool
Checks if this object is equal to the given object.
Args |
other
|
The object to be compared with.
|
Returns |
True if the objects are equal.
|
Class Variables |
label
|
None
|
score
|
None
|
x
|
None
|
y
|
None
|