4.2.2.12. FeatureExtraction
Last updated
Was this helpful?
Last updated
Was this helpful?
Inherits from NSObject Declared in STFaceProFeatureExtraction.h
顔特徴の検知関数
モデルファイルをロードして、顔特徴検知ツールを作成します。
- (STFaceProApiResult)createWithModelPath:(NSString *)*modelPath*
modelPath モデルファイルのパス
モデルファイルをロードして、顔特徴検知ツールを作成します。
STFaceProFeatureExtraction.h
1フレーム分の画像データおよび顔特徴点情報を入力すると、ブロックを通して顔特徴データが返されます。
- (STFaceProApiResult)extractWithInputImage:(void *)*inputImage* landmarks:(void *)*landmarks* count:(int)*count* featureArrayBlock:(void ( ^ ) ( char *_Nonnull const *_Nonnull ))*featureArrayBlock*
inputImage 画像データを入力
landmarks 顔の特徴点情報
count 顔の数
featureArrayBlock 顔特徴情報の配列
1フレーム分の画像データおよび顔特徴点情報を入力すると、ブロックを通して顔特徴データが返されます。
STFaceProFeatureExtraction.h
顔特徴をリリースします。
- (void)releaseFeature:(char *)*feature*
feature リリースする顔特徴
顔特徴をリリースします。
STFaceProFeatureExtraction.h