Face.State


class Face.State


The representation of the current state of Face.

Summary

Public functions

open operator Boolean
equals(other: Any?)
Float

Gets the confidence value of the face tracker for the given region.

open Int
open String

Public properties

Map<FaceBlendShapeTypeFloat>

Represents the blend shapes of the face.

TrackingState

the current TrackingState of the face.

Public functions

equals

open operator fun equals(other: Any?): Boolean

getConfidence

Added in 1.0.0-alpha06
fun getConfidence(region: FaceConfidenceRegion): Float

Gets the confidence value of the face tracker for the given region.

Parameters
region: FaceConfidenceRegion

the FaceConfidenceRegion to get the confidence value for.

Returns
Float

the confidence value of the face tracker for the given region.

Throws
kotlin.IllegalArgumentException

if the region does not exist.

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

blendShapes

Added in 1.0.0-alpha06
val blendShapesMap<FaceBlendShapeTypeFloat>

Represents the blend shapes of the face.

Returns
Map<FaceBlendShapeTypeFloat>

a map of FaceBlendShapeType to the corresponding blend shape value.

trackingState

Added in 1.0.0-alpha06
val trackingStateTrackingState

the current TrackingState of the face.