Class FingerTouchDetector
Performs fingertip plane touch estimation. The fingertip plane touch estimation estimates whether the fingertip is touching the plane.
Inheritance
Namespace: TofAr.V0.Hand
Assembly: TofArHandAssembly.dll
Syntax
public class FingerTouchDetector : MonoBehaviour
Fields
OnFingerTouchDetected
Notice of estimation result event.
Declaration
[SerializeField]
public FingerTouchDetector.FingerTouchDetectedEvent OnFingerTouchDetected
Field Value
Type |
---|
FingerTouchDetector.FingerTouchDetectedEvent |
targetFingers
Fingertips to be recognized. Multiple selections are possible
Default: RightIndex (Right index finger)
Declaration
public FingerTouchDetector.TargetFinger targetFingers
Field Value
Type |
---|
FingerTouchDetector.TargetFinger |
Properties
ExecMode
TensorFlowLite execution mode
Declaration
public TFLiteRuntime.ExecMode ExecMode { get; set; }
Property Value
Type |
---|
TensorFlowLite.Runtime.TFLiteRuntime.ExecMode |
IsEstimating
true if estimating
Declaration
public bool IsEstimating { get; }
Property Value
Type |
---|
System.Boolean |
Methods
StartEstimation()
Start estimation process
Declaration
public void StartEstimation()
StopEstimation()
Stop estimation process
Declaration
public void StopEstimation()