FakeRuntimeFace


class FakeRuntimeFace


Fake implementation of Face for testing purposes.

Summary

Public constructors

FakeRuntimeFace(
    trackingState: TrackingState,
    isValid: Boolean,
    blendShapeValues: FloatArray,
    confidenceValues: FloatArray
)

Public properties

open FloatArray

the values measuring the blend shapes of the face

open Pose

the Pose at the geometric center of the mesh if it exists

open FloatArray

the confidence values of the face tracker at different regions

open Pose

The Pose located at the left side of the detected face's forehead.

open Pose

The Pose located at the right side of the detected face's forehead.

open Boolean

a flag indicating if the Face is valid

open Mesh

a Mesh representation of the Face

open Pose

The Pose located at the tip of the nose.

open TrackingState

The TrackingState of this trackable

Public constructors

FakeRuntimeFace

Added in 1.0.0-alpha13
FakeRuntimeFace(
    trackingState: TrackingState = TrackingState.PAUSED,
    isValid: Boolean = true,
    blendShapeValues: FloatArray = FloatArray(0),
    confidenceValues: FloatArray = FloatArray(0)
)

Public properties

blendShapeValues

Added in 1.0.0-alpha13
open var blendShapeValuesFloatArray

the values measuring the blend shapes of the face

centerPose

Added in 1.0.0-alpha13
open var centerPosePose

the Pose at the geometric center of the mesh if it exists

confidenceValues

Added in 1.0.0-alpha13
open var confidenceValuesFloatArray

the confidence values of the face tracker at different regions

foreheadLeftPose

Added in 1.0.0-alpha13
open var foreheadLeftPosePose

The Pose located at the left side of the detected face's forehead.

foreheadRightPose

Added in 1.0.0-alpha13
open var foreheadRightPosePose

The Pose located at the right side of the detected face's forehead.

isValid

Added in 1.0.0-alpha13
open var isValidBoolean

a flag indicating if the Face is valid

mesh

Added in 1.0.0-alpha13
open var meshMesh

a Mesh representation of the Face

noseTipPose

Added in 1.0.0-alpha13
open var noseTipPosePose

The Pose located at the tip of the nose.

trackingState

Added in 1.0.0-alpha13
open var trackingStateTrackingState

The TrackingState of this trackable