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

MatchFound callback data. 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 sample
 Face sample.
 
double quality
 Face sample quality. The same as from the FaceQualityEstimator.
 
Template templ
 Template created for this sample.
 
SearchResult[] search_results
 Found elements with a distance less than distance_threshold (but not more than k nearest elements, the value of k is set in the configuration file in the search_k tag). More...
 

Detailed Description

MatchFound callback data.

Member Data Documentation

SearchResult [] VDT.FaceRecognition.SDK.VideoWorker.MatchFoundCallbackData.search_results

Found elements with a distance less than distance_threshold (but not more than k nearest elements, the value of k is set in the configuration file in the search_k tag).

When called after N consecutive mismatches, the first element in search_results will have a zero distance, and person_id and element_id are equal to VideoWorker.MATCH_NOT_FOUND_ID.