3DiVi Face SDK  3.24.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
Recognizer.h
1 #import <Foundation/Foundation.h>
2 #import "Template.h"
3 #import "RawSample.h"
4 
15 @interface MatchResult : NSObject
16 {
17  void *match_result;
18 
19  double distance;
20  double fa_r;
21  double fr_r;
22  double score;
23 }
24 -(nonnull instancetype) init: (void* _Nonnull) match;
25 -(void) dealloc;
26 
32 @property (readonly) double distance;
33 
43 @property (readonly) double fa_r;
44 
54 @property (readonly) double fr_r;
55 
61 @property (readonly) double score;
62 @end
63 
64 @interface Recognizer : NSObject
65 {
66  void *recognizer;
67 }
68 -(nonnull instancetype) init: (void* _Nonnull) reco;
69 -(void) dealloc;
70 
104 -(nonnull Template *) loadTemplate: (const void* _Nonnull const) data : (const int) size;
105 
129 -(nonnull Template*) loadTemplate:(const char* _Nullable)file_path;
130 
148 -(nonnull MatchResult *) getROCCurvePointByFAR: (const double) desired_far;
149 
173 -(nonnull Template *) processing: (RawSample *_Nullable)raw_sample;
174 
175 @end
176 
Result of template matching.
Definition: Recognizer.h:15
double score
Score of templates similarity - real number from 0 to 1.
Definition: Recognizer.h:22
Definition: Recognizer.h:64
double fr_r
False rejection rate corresponding to the distance value taken as a threshold at the extended LFW tes...
Definition: Recognizer.h:21
Interface object for saving the face template.
Definition: Template.h:13
double fa_r
False acceptance rate corresponding to the distance value taken as a threshold at the extended LFW te...
Definition: Recognizer.h:20
Interface object that stores a captured face sample.
Definition: RawSample.h:125
double distance
Distance between the templates.
Definition: Recognizer.h:19