FaceLandmarkerResult

public abstract class FaceLandmarkerResult implements TaskResult


Represents the face landmarks detection results generated by FaceLandmarker.

Summary

Public constructors

Public methods

abstract Optional<List<List<Category>>>

Optional face blendshapes classifications.

abstract List<List<NormalizedLandmark>>

Face landmarks of detected faces.

abstract Optional<List<float[]>>

Optional facial transformation matrix list from canonical face to the detected face landmarks.

abstract long

Returns the timestamp that is associated with the task result object.

Public constructors

FaceLandmarkerResult

public FaceLandmarkerResult()

Public methods

faceBlendshapes

public abstract Optional<List<List<Category>>> faceBlendshapes()

Optional face blendshapes classifications. Note: *Left and *Right blendshapes correspond to the subject's face, not the viewer. Passing a horizontally mirrored image will invert these outputs.

faceLandmarks

public abstract List<List<NormalizedLandmark>> faceLandmarks()

Face landmarks of detected faces.

facialTransformationMatrixes

public abstract Optional<List<float[]>> facialTransformationMatrixes()

Optional facial transformation matrix list from canonical face to the detected face landmarks. The 4x4 facial transformation matrix is represetned as a flat column-major float array.

timestampMs

public abstract long timestampMs()

Returns the timestamp that is associated with the task result object.