<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/components/containers/keypoint.py#L23-L72) |

A normalized keypoint.

```python
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.

<br />

<br />

<br />

| ## 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. |

<br />

## Methods

### `from_ctypes`

[View source](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/components/containers/keypoint.py#L43-L54)

```python
@classmethod
from_ctypes(
    c_obj: keypoint_c_lib.MpNormalizedKeypointC
) -> 'NormalizedKeypoint'
```

Creates a `NormalizedKeypoint` object from a \`MpNormalizedKeypointC.

### `__eq__`

[View source](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/components/containers/keypoint.py#L56-L72)

```python
__eq__(
    other: Any
) -> bool
```

Checks if this object is equal to the given object.

<br />

<br />

<br />

| Args ||
|---|---|
| `other` | The object to be compared with. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| True if the objects are equal. ||

<br />

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| label | `None` |
| score | `None` |
| x | `None` |
| y | `None` |

<br />