3DiVi Face SDK  3.24.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
DatabaseElement Class Reference

Database element. If you have several face templates for one person, you should create one element for each template with the same person_id but different element_id. More...

#import <VideoWorker.h>

Properties

u_int64_t element_id
 Unique id of the element.
 
u_int64_t person_id
 Unique id of the person.
 
float distance_treshold
 Distance threshold for a MatchFound event. More...
 
Template *_Nullable face_template
 Face template.
 

Detailed Description

Database element. If you have several face templates for one person, you should create one element for each template with the same person_id but different element_id.

Property Documentation

- (float) distance_treshold
readwriteatomic

Distance threshold for a MatchFound event.

Setting a different recognition threshold for different persons may be useful in some cases. For example, if there is a particular criminal in the blacklist, who is more dangerous than the other criminals, and you want to increase the recognition probability for this very person, despite the higher probability of a false acceptance error.