4.2.2.3. AttributeDetector

  Inherits from NSObject   Declared in STFaceProAttributeDetector.h

Overview

画像属性検知クラス

Tasks

  delegate property

– createWithModelPath:

– detectWithInputImage:landmarks:count:

Properties

delegate

プロトコルプロキシオブジェクト

@property (nonatomic, weak) id<STFaceProAttributeDetectorDelegate> delegate

Discussion

プロトコルプロキシオブジェクト

Declared In

  • STFaceProAttributeDetector.h

Instance Methods

createWithModelPath:

モデルファイルをロードして、画像プロパティ検知ツールを作成します。

- (STFaceProApiResult)createWithModelPath:(NSString *)*modelPath*

Parameters

modelPath    モデルファイルのパス

Discussion

モデルファイルをロードして、画像プロパティ検知ツールを作成します。

Declared In

  • STFaceProAttributeDetector.h

detectWithInputImage:landmarks:count:

画像属性を検知。プロトコルエージェントを通して属性検知結果を返します。

- (STFaceProApiResult)detectWithInputImage:(void *)*inputImage* landmarks:(void *)*landmarks* count:(int)*count*

Parameters

inputImage    画像データのフレームを入力

landmarks    顔特徴点

count    顔の数

Discussion

画像属性を検知。プロトコルエージェントを通して属性検知結果を返します。

Declared In

  • STFaceProAttributeDetector.h

最終更新