mp.tasks.components.containers.keypoint.NormalizedKeypoint
Stay organized with collections
Save and categorize content based on your preferences.
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-28 UTC.
[null,null,["Last updated 2026-05-28 UTC."],[],[]]