Attention: This MediaPipe Solutions Preview is an early release. Learn more.

NormalizedLandmark interface

Stay organized with collections Save and categorize content based on your preferences.

Normalized Landmark represents a point in 3D space with x, y, z coordinates. x and y are normalized to [0.0, 1.0] by the image width and height respectively. z represents the landmark depth, and the smaller the value the closer the landmark is to the camera. The magnitude of z uses roughly the same scale as x.

Signature:

export declare interface NormalizedLandmark 

Properties

Property Type Description
x number The x coordinates of the normalized landmark.
y number The y coordinates of the normalized landmark.
z number The z coordinates of the normalized landmark.

NormalizedLandmark.x

The x coordinates of the normalized landmark.

Signature:

x: number;

NormalizedLandmark.y

The y coordinates of the normalized landmark.

Signature:

y: number;

NormalizedLandmark.z

The z coordinates of the normalized landmark.

Signature:

z: number;