NormalizedLandmark interface

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 Modifiers 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.
visibility number The likelihood of the landmark being visible within the image.
presence number The likelihood of the landmark being present in the scene (within image bounds). Unset when the model does not output a presence score.

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;

NormalizedLandmark.visibility

The likelihood of the landmark being visible within the image.

Signature:

visibility: number;

NormalizedLandmark.presence

The likelihood of the landmark being present in the scene (within image bounds). Unset when the model does not output a presence score.

Signature:

presence?: number;