mp.tasks.components.containers.keypoint.NormalizedKeypoint

A normalized keypoint.

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.

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

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.

label None
score None
x None
y None