Class TofArFacialExpressionEstimator
表情推定
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
TofArFacialExpressionEstimator
Inherited Members
Namespace: TofAr.V0.Face
Assembly: TofArFaceAssembly.dll
Syntax
public class TofArFacialExpressionEstimator : Singleton<TofArFacialExpressionEstimator>
Fields
aiueoDataList
表情推定で使用されるデータ
Declaration
public AIUEOData[] aiueoDataList
Field Value
Type |
---|
AIUEOData[] |
autoStart
trueの場合、アプリケーション開始時に自動的に表情推定を開始する
Declaration
public bool autoStart
Field Value
Type |
---|
System.Boolean |
Properties
ExecMode
aiueo認識で使用するTFLiteのExecMode
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
表情推定する顔のインデックス
Declaration
public int FacialExpressionDetectionFaceIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ThreadsNum
aiueo認識で使用するスレッド数
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()
表情推定のため顔をキャリブレーションする
Declaration
public void CalibrateFace()
GetMappedBlendshapes(ref FaceResult)
ARKitに投影した表情データを取得する
Declaration
public void GetMappedBlendshapes(ref FaceResult face)
Parameters
Type | Name | Description |
---|---|---|
FaceResult | face |
StartGestureEstimation()
ジェスチャー推定を開始する
Declaration
public void StartGestureEstimation()
StopGestureEstimation()
ジェスチャー推定を終了する
Declaration
public void StopGestureEstimation()
Events
OnFacialExpressionEstimated
表情推定結果通知
Declaration
public static event TofArFacialExpressionEstimator.FacialExpressionEstimatedEventHandler OnFacialExpressionEstimated
Event Type
Type | Description |
---|---|
TofArFacialExpressionEstimator.FacialExpressionEstimatedEventHandler |