1 #import <Foundation/Foundation.h>
6 typedef NS_ENUM(NSInteger, Verdict){
9 VERDICT_NOT_COMPUTED = 2
12 typedef NS_ENUM(NSInteger, CheckType){
23 typedef NS_ENUM(NSInteger, Liveness){
24 ALL_CHECKS_PASSED = 0,
25 CURRENT_CHECK_PASSED = 1,
27 WAITING_FACE_ALIGN = 3,
33 typedef NS_ENUM(NSInteger, Age){
40 typedef NS_ENUM(NSInteger, Gender){
45 typedef NS_ENUM(NSInteger, Emotion){
58 -(nonnull instancetype) init;
59 -(nonnull instancetype) init: (
void* _Nullable) active_liveness;
61 @property Liveness verdict;
62 @property CheckType check_type;
63 @property float progress_level;
73 -(nonnull instancetype) init: (
void* _Nullable) age_gender;
76 @property Gender gender;
77 @property float age_year;
86 -(nonnull instancetype) init: (
void* _Nullable) emotions_confidence;
87 @property Emotion emotion;
88 @property float confidence;
98 -(nonnull instancetype) init: (
void* _Nonnull) search_result;
100 @property UInt64 person_id;
101 @property UInt64 element_id;
102 @property (readonly, nonnull)
MatchResult *match_result;
108 void *trackin_callback;
111 NSMutableArray<RawSample *> *samples;
112 NSMutableArray *samples_track_id;
113 NSMutableArray *samples_week;
114 NSMutableArray *samples_quality;
115 NSMutableArray *samples_good_light_and_blur;
116 NSMutableArray *samples_good_andles;
117 NSMutableArray *samples_good_face_size;
118 NSMutableArray *samples_detector_confirmed;
119 NSMutableArray *samples_depth_liveness_confirmed;
120 NSMutableArray *samples_track_age_gender_set;
121 NSMutableArray *samples_track_age_gender;
122 NSMutableArray *samples_track_emotions_set;
123 NSMutableArray *samples_track_emotions;
124 NSMutableArray *samples_active_liveness_status;
127 -(nonnull instancetype) init;
128 -(nonnull instancetype) init: (
void *_Nonnull)callback;
131 @property (readonly) int64_t stream_id;
132 @property (readonly) int64_t frame_id;
133 @property (readonly, nonnull) NSMutableArray<RawSample *> *samples;
134 @property (readonly, nonnull) NSMutableArray *samples_track_id;
135 @property (readonly, nonnull) NSMutableArray *samples_week;
136 @property (readonly, nonnull) NSMutableArray *samples_quality;
137 @property (readonly, nonnull) NSMutableArray *samples_good_light_and_blur;
138 @property (readonly, nonnull) NSMutableArray *samples_good_andles;
139 @property (readonly, nonnull) NSMutableArray *samples_good_face_size;
140 @property (readonly, nonnull) NSMutableArray *samples_detector_confirmed;
141 @property (readonly, nonnull) NSMutableArray *samples_depth_liveness_confirmed;
142 @property (readonly, nonnull) NSMutableArray *samples_track_age_gender_set;
143 @property (readonly, nonnull) NSMutableArray *samples_track_age_gender;
144 @property (readonly, nonnull) NSMutableArray *samples_track_emotions_set;
145 @property (readonly, nonnull) NSMutableArray *samples_track_emotions;
146 @property (readonly, nonnull) NSMutableArray *samples_active_liveness_status;
159 NSMutableArray *search_results;
161 -(nonnull instancetype) init: (
void* _Nonnull)callback;
164 @property (readonly) int64_t stream_id;
165 @property (readonly) int64_t frame_id;
166 @property (readonly, nonnull)
RawSample *sample;
167 @property (readonly)
double quality;
168 @property (readonly, nonnull)
Template *templ;
169 @property (readonly, nonnull) NSMutableArray *search_results;
Result of template matching.
Definition: Recognizer.h:15
Definition: CallbackData.h:66
Definition: CallbackData.h:106
Definition: CallbackData.h:80
Interface object for saving the face template.
Definition: Template.h:13
Definition: CallbackData.h:150
Definition: CallbackData.h:91
Interface object that stores a captured face sample.
Definition: RawSample.h:125
Definition: CallbackData.h:52
typedef NS_ENUM(int32_t, CtxFormat)
Format of image data.
Definition: Context.h:14