public final class TestFace extends TestTrackable


Represents a human face as observed by the runtime within a test environment. If isValid is false, the blendShapeValues will be ignored and tracking will be TrackingState.PAUSED.

Summary

Public constructors

Public methods

final @NonNull List<@NonNull Float>

a list of normalized blend shape values of facial features

final @NonNull List<@NonNull Float>

a list of normalized values describing the confidence of blend shape values in a specific region of the face

final boolean

whether the blendShapeValues are valid

final void

a list of normalized blend shape values of facial features

final void

a list of normalized values describing the confidence of blend shape values in a specific region of the face

final void
setValid(boolean value)

whether the blendShapeValues are valid

Public constructors

TestFace

Added in 1.0.0-alpha14
public TestFace()

Public methods

getBlendShapeValues

Added in 1.0.0-alpha14
public final @NonNull List<@NonNull FloatgetBlendShapeValues()

a list of normalized blend shape values of facial features

getConfidenceValues

Added in 1.0.0-alpha14
public final @NonNull List<@NonNull FloatgetConfidenceValues()

a list of normalized values describing the confidence of blend shape values in a specific region of the face

isValid

Added in 1.0.0-alpha14
public final boolean isValid()

whether the blendShapeValues are valid

setBlendShapeValues

Added in 1.0.0-alpha14
public final void setBlendShapeValues(@NonNull List<@NonNull Float> value)

a list of normalized blend shape values of facial features

setConfidenceValues

Added in 1.0.0-alpha14
public final void setConfidenceValues(@NonNull List<@NonNull Float> value)

a list of normalized values describing the confidence of blend shape values in a specific region of the face

setValid

Added in 1.0.0-alpha14
public final void setValid(boolean value)

whether the blendShapeValues are valid