3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
com.vdt.face_recognition.sdk.VideoWorker.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...

Public Attributes

long element_id
 Unique id of the element.
 
long person_id
 Unique id of the person.
 
Template face_template
 Face template.
 
float distance_threshold
 Distance threshold for a MatchFound event. More...
 

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.

Member Data Documentation

float com.vdt.face_recognition.sdk.VideoWorker.DatabaseElement.distance_threshold

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 false acceptance error.