Class TofArFacialExpressionEstimator
Facial expression estimation
Inheritance
Inherited Members
Namespace: TofAr.V0.Face
Assembly: TofArFaceAssembly.dll
Syntax
public class TofArFacialExpressionEstimator : Singleton<TofArFacialExpressionEstimator>
Fields
aiueoDataList
Data used for facial expression estimation
Declaration
public AIUEOData[] aiueoDataList
Field Value
Type |
---|
AIUEOData[] |
autoStart
If true, automatically starts facial expression estimation on application start
Declaration
public bool autoStart
Field Value
Type |
---|
System.Boolean |
Properties
ExecMode
ExecMode of TFLite used in facial expression recognition
Declaration
[Obsolete("ExecMode is obsolete and will be removed in a future version")]
public TFLiteRuntime.ExecMode ExecMode { get; set; }
Property Value
Type |
---|
TensorFlowLite.Runtime.TFLiteRuntime.ExecMode |
FacialExpressionDetectionFaceIndex
Index of faces to estimate facial expressions
Declaration
public int FacialExpressionDetectionFaceIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ThreadsNum
Number of threads used in facial expression recognition
Declaration
[Obsolete("ThreadsNum is obsolete and will be removed in a future version")]
public int ThreadsNum { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
CalibrateFace()
Calibrate face for facial expression estimation
Declaration
public void CalibrateFace()
GetMappedBlendshapes(ref FaceResult)
Get facial expression data captured from ARKit
Declaration
public void GetMappedBlendshapes(ref FaceResult face)
Parameters
Type | Name | Description |
---|---|---|
FaceResult | face |
StartGestureEstimation()
Start gesture estimation
Declaration
public void StartGestureEstimation()
StopGestureEstimation()
Stop gesture estimation
Declaration
public void StopGestureEstimation()
Events
OnFacialExpressionEstimated
Event for facial expression result
Declaration
public static event TofArFacialExpressionEstimator.FacialExpressionEstimatedEventHandler OnFacialExpressionEstimated
Event Type
Type | Description |
---|---|
TofArFacialExpressionEstimator.FacialExpressionEstimatedEventHandler |