Vision SDK に渡されるか、Vision SDK から取得されるフレームを表します。
メンバー
プロパティ
構文: public FrameProperties & Properties;
追加の Frame プロパティのコレクションを取得します。
Data
構文: public const uint8_t * Data;
DataSizeInBytes
構文: public const size_t DataSizeInBytes;
~フレーム
構文: public inline ~Frame ( );
作成
構文: public inline static std::shared_ptr< Frame > Create ( const uint8_t * data , size_t dataSizeInBytes );
呼び出し元が所有するデータ バッファーをラップする Frame を作成します。
パラメーター
dataデータ バッファー。dataSizeInBytesデータ バッファー サイズ (バイト単位)
戻り値
新しく作成されたフレームへの共有ポインター
CreateWithDataCopy
構文: public inline static std::shared_ptr< Frame > CreateWithDataCopy ( const uint8_t * data , size_t dataSizeInBytes );
呼び出し元によって提供されるデータ バッファーをコピーする Frame を作成します。
パラメーター
dataデータ バッファー。dataSizeInBytesデータ バッファー サイズ (バイト単位)
戻り値
新しく作成されたフレームへの共有ポインター