Landmark interface

Landmark represents a point in 3D space with x, y, z coordinates. The landmark coordinates are in meters. z represents the landmark depth, and the smaller the value the closer the world landmark is to the camera.

Signature:

export declare interface Landmark 

Properties

Property Modifiers Type Description
x number The x coordinates of the landmark.
y number The y coordinates of the landmark.
z number The z coordinates of the 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.

Landmark.x

The x coordinates of the landmark.

Signature:

x: number;

Landmark.y

The y coordinates of the landmark.

Signature:

y: number;

Landmark.z

The z coordinates of the landmark.

Signature:

z: number;

Landmark.visibility

The likelihood of the landmark being visible within the image.

Signature:

visibility: number;

Landmark.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;