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
  • compareWithFeature:anotherFeature:scoreBlock:
  • compareWithQueryFeature:featureList:featureCount:maxNum:
  • createWithModelPath:

Was this helpful?

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

4.2.2.11. FeatureComparison

Previous4.2.2.10. FaceTrackerNext4.2.2.12. FeatureExtraction

Last updated 4 years ago

Was this helpful?

  Inherits from NSObject   Declared in STFaceProFeatureComparison.h

Overview

顔特徴の比較クラス

Tasks

property

Properties

delegate

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

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

Discussion

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

Declared In

  • STFaceProFeatureComparison.h

Instance Methods

compareWithFeature:anotherFeature:scoreBlock:

1:1顔比較を行います。2つの顔の特徴を比較し、ブロックを通して顔の類似度を返します。

- (STFaceProApiResult)compareWithFeature:(char *)*feature* anotherFeature:(char *)*anotherFeature* scoreBlock:(void ( ^ ) ( float ))*scoreBlock*

Parameters

feature    1つ目の顔特徴情報。

anotherFeature    2つ目の顔特徴情報。

scoreBlock    類似度。値が高いほど類似度が高くなります。

Discussion

1:1顔比較を行います。2つの顔の特徴を比較し、ブロックを通して顔の類似度を返します。

Declared In

  • STFaceProFeatureComparison.h

compareWithQueryFeature:featureList:featureCount:maxNum:

1:N顔比較を行います。顔特徴の配列セットから検索し、プロトコルプロキシを通して特徴比較結果を返します。

- (STFaceProApiResult)compareWithQueryFeature:(char *)*queryFeature* featureList:(char *_Nonnull const *_Nonnull)*featureList* featureCount:(int)*featureCount* maxNum:(int)*maxNum*

Parameters

queryFeature    検索対象の顔特徴情報

featureList    顔特徴情報の配列

featureCount    顔特徴情報の量

maxNum    顔検索の最大数

Discussion

1:N顔比較を行います。顔特徴の配列セットから検索し、プロトコルプロキシを通して特徴比較結果を返します。

Declared In

  • STFaceProFeatureComparison.h

createWithModelPath:

モデルファイルをロードして、顔特徴比較ツールを作成します。

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

Parameters

modelPath    モデルファイルのパス

Discussion

モデルファイルをロードして、顔特徴比較ツールを作成します。

Declared In

  • STFaceProFeatureComparison.h

  delegate
– createWithModelPath:
– compareWithFeature:anotherFeature:scoreBlock:
– compareWithQueryFeature:featureList:featureCount:maxNum: