Class TofArMarkRecogManager
下記機能を有する
- GetPropertyによるマーク認識結果の取得
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
TofArMarkRecogManager
Implements
System.IDisposable
Inherited Members
Namespace: TofAr.V0.MarkRecog
Assembly: TofArMarkRecogAssembly.dll
Syntax
public class TofArMarkRecogManager : Singleton<TofArMarkRecogManager>, IDisposable
Fields
execMode
TFLiteのExecMode
デフォルト値: EXEC_MODE_CPU
Declaration
public TFLiteRuntime.ExecMode execMode
Field Value
Type |
---|
TensorFlowLite.Runtime.TFLiteRuntime.ExecMode |
threadsNum
TFLiteが使用するスレッド数
Declaration
public int threadsNum
Field Value
Type |
---|
System.Int32 |
Properties
Version
コンポーネントのバージョン番号
Declaration
public string Version { get; }
Property Value
Type |
---|
System.String |
Methods
Dispose()
破棄処理
Declaration
public void Dispose()
Dispose(Boolean)
破棄処理
Declaration
public void Dispose(bool ignoreEventRelease)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreEventRelease | trueの場合、イベントハンドラのクリアをスキップする |
GetProperty<T>(T)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public T GetProperty<T>(T value)
where T : ResultProperty
Parameters
Type | Name | Description |
---|---|---|
T | value | 入力パラメータ |
Returns
Type | Description |
---|---|
T | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | IBaseProperty継承クラス |
Events
OnApplicationPausing
アプリケーション一時停止開始時
Declaration
public static event TofArMarkRecogManager.ApplicationPausingEventHandler OnApplicationPausing
Event Type
Type | Description |
---|---|
TofArMarkRecogManager.ApplicationPausingEventHandler |
OnApplicationResuming
アプリケーション復帰開始時
Declaration
public static event TofArMarkRecogManager.ApplicationResumingEventHandler OnApplicationResuming
Event Type
Type | Description |
---|---|
TofArMarkRecogManager.ApplicationResumingEventHandler |
OnInitNnpEvent
マーク認識モデル初期化通知
Declaration
public static event TofArMarkRecogManager.OnInitNnpEventEventHandler OnInitNnpEvent
Event Type
Type | Description |
---|---|
TofArMarkRecogManager.OnInitNnpEventEventHandler |
Implements
System.IDisposable