3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
VDT.FaceRecognition.SDK.VideoWorker.TrackingCallbackData Class Reference

Tracking callback data. More...

Public Types

enum  SampleCheckStatus { SampleCheckStatus.PASSED = 0, SampleCheckStatus.FAILED = 1, SampleCheckStatus.NOT_COMPUTED = 2 }
 The result of some kind of sample checking. More...
 

Public Attributes

ulong stream_id
 Integer id of the video stream (0 <= stream_id < streams_count).
 
ulong frame_id
 Integer id of the frame (that was returned by VideoWorker.addVideoFrame).
 
RawSample[] samples
 Vector of face samples found by the tracker.
Most of the samples are received from the frame_id frame but some samples can be received from the previous frames.
Use RawSample.getFrameID to determine which frame the sample belongs to.
 
int[] samples_track_id
 Vector of face IDs (track_id). track_id is equal to sample.getID() for a sample given in any VideoWorker callback. (samples_track_id.Length == samples.Length)
 
bool[] samples_weak
 Since this is tracking, some samples may be false, so we mark the samples with the "weak" flag if they haven’t passed one of the rechecks (see: samples_good_face_size, samples_good_angles, samples_depth_liveness_confirmed, samples_detector_confirmed, samples_good_light_and_blur). "Weak" samples are not used for recognition (samples_weak.Length == samples.Length)
 
float[] samples_quality
 Quality value for the face sample. The same as from the FaceQualityEstimator (samples_quality.Length == samples.Length)
 
SampleCheckStatus[] samples_good_light_and_blur
 The result of checking the sample for good lighting conditions and absence of a strong blur (samples_good_light_and_blur.Length == samples.Length)
 
SampleCheckStatus[] samples_good_angles
 The result of checking the sample for absence of too high yaw/pitch angles (samples_good_angles.Length == samples.Length)
 
SampleCheckStatus[] samples_good_face_size
 The result of checking the sample for suitable size of a face, see the min_template_generation_face_size parameter in the configuration file. (samples_good_face_size.Length == samples.Length)
 
SampleCheckStatus[] samples_detector_confirmed
 The result of checking the sample with the frontal face detector (samples_detector_confirmed.Length == samples.Length)
 
DepthLivenessEstimator.Liveness[] samples_depth_liveness_confirmed
 The result of checking the sample with DepthLivenessEstimator, depth frames are required, see VideoWorker.addDepthFrame. See DepthLivenessEstimator.Liveness for details. (samples_depth_liveness_confirmed.Length == samples.Length)
 
bool[] samples_track_age_gender_set
 Flag indicating that age and gender were estimated for this track. (samples_track_age_gender_set.Length == samples.Length)
 
AgeGenderEstimator.AgeGender[] samples_track_age_gender
 Estimated age and gender for this track. (samples_track_age_gender.Length == samples.Length)
 
bool[] samples_track_emotions_set
 Flag indicating that emotions were estimated for this track. (samples_track_emotions_set.Length == samples.Length)
 
List
< EmotionsEstimator.EmotionConfidence >[] 
samples_track_emotions
 Estimated emotions for this track. (samples_track_emotions.Length == samples.Length)
 
ActiveLiveness.ActiveLivenessStatus[] samples_active_liveness_status
 Face active liveness check status. See ActiveLiveness::ActiveLivenessStatus for details. (samples_active_liveness_status.size() == samples.size())
 

Detailed Description

Tracking callback data.

Member Enumeration Documentation

The result of some kind of sample checking.

Enumerator
PASSED 

Sample passed the checking.

FAILED 

Sample did not pass the checking.

NOT_COMPUTED 

Sample was not checked.