2.2.2. APIと構造体のパラメーター のマクロ定義

Windows/Linux/Arm_Linux 用のAPIは、以下の解説をご参照ください。

st_handle_t

機能:引数やデータの保存に必要なハンドルです。対応する解放引数の呼び出し、メモリの解放及びリサイクルを行う必要があります。

定義:

typedef void *st_handle_t;

st_result_t

機能:戻されたエラーコードを表示します。

定義:

typedef int st_result_t;

struct stid_detection_result

機能:顔枠情報を取得できます。

定義:

typedef struct stid_detection_result {
    cv_rect32i_t rect;        ///< Result rect
    float score;            ///< スコア
    int label;            ///< ラベル
    int orientation;        ///< 向き
    unsigned int reserved1;
    unsigned int reserved2;
} stid_detection_result_t;

struct stid_landmarks

機能:顔特徴点情報を取得できます。

定義:

struct stid_target

機能:トラッキングの結果を取得できます。

定義:

stid_pose

機能:ポーズの角度情報を取得できます。

定義:

stid_face_quality

機能:顔写真品質の情報を取得できます。

定義:

stid_attribute_category_t

機能:顔属性情報構造体。 カテゴリーが「mask」の場合、value値は 0:nomask、1:mask

定義:

stid_attribute_list

機能:顔属性の一覧です。

定義:

Config (detect)

機能:顔認識モードを示します。

定義:

config (track)

機能:非同期の顔トラッキングを使用できます(遅い認識モデル、かつリアルタイムプレビューが必要の場合での利用を推奨)。

定義:

config (track)

機能:顔トラッキングモードを示します。

定義:

config (track)

機能:顔をトラッキングするターゲット数Nを設定できます。

設定範囲:1~32。初期値N=1。検知されたN個の顔をトラッキングします。 顔の数がNを下回った場合、顔の認識を開始します。値N=1の場合、1つの顔をトラッキングします。

定義:

機能:顔写真の品質計算標識位置を取得できます。

定義:

Last updated

Was this helpful?