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

NormalizedLandmark

public abstract class NormalizedLandmark

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.

Public Constructors

Public Methods

static NormalizedLandmark
create(float x, float y, float z)
final boolean
final int
final String
abstract float
x()
abstract float
y()
abstract float
z()

Inherited Methods

Public Constructors

public NormalizedLandmark ()

Public Methods

public static NormalizedLandmark create (float x, float y, float z)

Parameters
x
y
z

public final boolean equals (Object o)

Parameters
o

public final int hashCode ()

public final String toString ()

public abstract float x ()

public abstract float y ()

public abstract float z ()