2 #import <Foundation/Foundation.h>
5 #import "CallbackData.h"
7 #import "swift_callback.h"
37 -(nonnull instancetype) init: (
void* _Nullable) element;
38 -(nonnull instancetype) init: (u_int64_t) elem_id : (u_int64_t) pers_id : (
Template *_Nullable) face_temp : (
float) distance;
41 @property (readonly, nonnull)
void *base_element;
50 @property u_int64_t element_id;
59 @property u_int64_t person_id;
79 @property float distance_treshold;
108 CallbackHandler *handler;
111 -(nonnull instancetype) init: (
void* _Nonnull) worker;
147 -(int) addTrackingCallbackU: (const
void* _Nonnull)callback : (
void * _Nonnull const)userdata;
182 -(int) addMatchFoundCallbackU: (const
void* _Nonnull)callback : (
void * _Nonnull const)userdata;
202 -(void) addHandlerCallback: (CallbackHandler * _Nonnull) handler;
251 -(int) addVideoFrame: (
RawImage * _Nonnull) image : (
int) stream_id;
295 -(void) enableProcessingOnStream: (const
int) stream_id;
318 -(void) disableProcessingOnStream: (const
int) stream_id;
361 -(void) resetStream: (const
int) stream_id;
362 -(void) checkException;
363 @property (nonnull) CallbackHandler *handler;
Template *_Nullable face_template
Face template.
Definition: VideoWorker.h:88
Interface object for saving the face template.
Definition: Template.h:13
Database element. If you have several face templates for one person, you should create one element fo...
Definition: VideoWorker.h:29
u_int64_t element_id
Unique id of the element.
Definition: VideoWorker.h:32
VideoWorker is an interface object for tracking, processing and matching faces on multiple video stre...
Definition: VideoWorker.h:105
float distance_treshold
Distance threshold for a MatchFound event.
Definition: VideoWorker.h:35
Struct that provides raw image data and optional cropping information.
Definition: RawImage.h:113
u_int64_t person_id
Unique id of the person.
Definition: VideoWorker.h:33