JCV顔認証SDK
2.2.0, iOS, 日本語
2.2.0, iOS, 日本語
  • はじめに
  • 1. 機能仕様
  • 2. JCV顔認証 SDK FAQ
  • 3. クイックテスト
    • 3.1. 統合ガイド
  • 4. API仕様
    • 4.1. ライセンス認証方法
    • 4.2. API Reference
      • 4.2.1. Constrants
        • 4.2.1.1. ApiResult
        • 4.2.1.2. DetectorConfig
        • 4.2.1.3. FaceOrientaion
        • 4.2.1.4. TrackingConfig
        • 4.2.1.5. QualityAssessmentFlag
      • 4.2.2. Classes
        • 4.2.2.1. AntiSpoofingDetector
        • 4.2.2.2. FaceAttribute
        • 4.2.2.3. AttributeDetector
        • 4.2.2.4. ConvertTool
        • 4.2.2.5. DetectionResult
        • 4.2.2.6. FaceAttribute
        • 4.2.2.7. FaceDetector
        • 4.2.2.8. FaceQuality
        • 4.2.2.9. FaceRect
        • 4.2.2.10. FaceTracker
        • 4.2.2.11. FeatureComparison
        • 4.2.2.12. FeatureExtraction
        • 4.2.2.13. HeadPose
        • 4.2.2.14. HeadPoseDetector
        • 4.2.2.15. LandMarks
        • 4.2.2.16. MotionSharpnessDetector
        • 4.2.2.17. LoadLicense
        • 4.2.2.18. Point3D
        • 4.2.2.19. QualityDetector
        • 4.2.2.20. TrackTarget
      • 4.2.3. Protocols
        • 4.2.3.1. AttributeDetectorDelegate
        • 4.2.3.2. FaceTrackerDelegate
        • 4.2.3.3. HeadPoseDetectorDelegate
        • 4.2.3.4. FaceDetectorDelegate
        • 4.2.3.5. FeatureComparisonDelegate
        • 4.2.3.6. QualityDetectorDelegate
        • 4.2.3.7. AntiSpoofingDetectorDelegate
        • 4.2.3.8. MotionSharpnessDetectorDelegate
Powered by GitBook
On this page
  • Overview
  • Tasks
  • Properties
  • delegate
  • Instance Methods
  • createWithModelPath:config:
  • detectWithInputImage:faceOrientation:
  • detectWithInputImage:faceOrientation:resultBlock:

Was this helpful?

  1. 4. API仕様
  2. 4.2. API Reference
  3. 4.2.2. Classes

4.2.2.7. FaceDetector

Previous4.2.2.6. FaceAttributeNext4.2.2.8. FaceQuality

Last updated 4 years ago

Was this helpful?

Inherits from NSObject Declared in STFaceProFaceDetector.h

Overview

顔検知クラス

Tasks

property

Properties

delegate

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

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

Discussion

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

Declared In

  • STFaceProFaceDetector.h

Instance Methods

createWithModelPath:config:

モデルファイルをロードして、検知ツールを作成します。

- (STFaceProApiResult)createWithModelPath:(NSString *)*modelPath* config:(STFaceProDetectorConfig)*detectorConfig*

Parameters

modelPath アライメントモデルファイルが配置されているパス

Discussion

モデルファイルをロードして、検知ツールを作成します。

Declared In

  • STFaceProFaceDetector.h

detectWithInputImage:faceOrientation:

画像データのフレームを入力すると、顔枠や特徴点を含む情報がプロトコルエージェントを通して返されます。連続フレームの場合に一般的に使用されます。

- (STFaceProApiResult)detectWithInputImage:(void *)*inputImage* faceOrientation:(STFaceProFaceOrientaion)*faceOrientation*

Parameters

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

faceOrientation フレーム画像の向き。顔が上向きの状態の画像を使用することを推奨します。

Discussion

画像データのフレームを入力すると、顔枠や特徴点を含む情報がプロトコルエージェントを通して返されます。連続フレームの場合に一般的に使用されます。

Declared In

  • STFaceProFaceDetector.h

detectWithInputImage:faceOrientation:resultBlock:

画像データのフレームを入力すると、顔枠や特徴点を含む情報がブロックを通して返されます。単一フレームの場合に一般的に使用されます。

- (STFaceProApiResult)detectWithInputImage:(void *)*inputImage* faceOrientation:(STFaceProFaceOrientaion)faceOrientation resultBlock:(void ( ^ ) ( void *detectionResult , void *landMarks , int faceCount ))*resultBlock*

Parameters

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

faceOrientation フレーム画像の向き。顔が上向きの状態の画像を使用することを推奨します。

resultBlock 検知された顔フレーム、特徴点の配列、および顔の数を出力します。

Discussion

画像データのフレームを入力すると、顔枠や特徴点を含む情報がブロックを通して返されます。単一フレームの場合に一般的に使用されます。

Declared In

  • STFaceProFaceDetector.h

detectorConfig 検知ツールの構成オプションを設定します。デフォルト設定は _LARGE_FACE。

STFaceProDetectorConfig
delegate
– createWithModelPath:config:
– detectWithInputImage:faceOrientation:
– detectWithInputImage:faceOrientation:resultBlock: