FaceLandmarkerResult
class
FaceLandmarkerResult
:
TaskResult
Represents the detection results generated by FaceLandmarker
.
-
Detected face landmarks in normalized image coordinates.
Declaration
Swift
var faceLandmarks : [[ NormalizedLandmark ]] { get } -
Face blendshapes results. Defaults to an empty array if not enabled.
Declaration
Swift
var faceBlendshapes : [ Classifications ] { get } -
Facial transformation 4x4 matrices. Defaults to an empty array if not enabled.
Declaration
Swift
var facialTransformationMatrixes : [ TransformMatrix ] { get } -
Initializes a new
FaceLandmarkerResultwith the given array of landmarks, blendshapes, facialTransformationMatrixes and timestamp (in milliseconds).Declaration
Swift
init ( faceLandmarks : [[ NormalizedLandmark ]], faceBlendshapes : [ Classifications ], facialTransformationMatrixes : [ TransformMatrix ], timestampInMilliseconds : Int )Parameters
faceLandmarksAn array of
NormalizedLandmarkobjects.faceBlendshapesAn array of
Classificationsobjects.facialTransformationMatrixesAn array of flattended matrices.
timestampInMillisecondsThe timestamp (in milliseconds) for this result.
Return Value
An instance of
FaceLandmarkerResultinitialized with the given array of detections and timestamp (in milliseconds). -
Undocumented
-
Undocumented
-
Undocumented

