|
3DiVi Face SDK
3.28.0
|
MatchFound callback data. More...
#include <VideoWorker.h>
Public Attributes | |
| int64_t | stream_id |
| Integer id of the video stream (0 <= stream_id < streams_count). | |
| int64_t | frame_id |
| Integer id of the frame (that was returned by VideoWorker::addVideoFrame). | |
| RawSample::Ptr | sample |
| Face sample. | |
| double | quality |
| Face sample quality. The same as from the FaceQualityEstimator. | |
| Template::Ptr | templ |
| Template created for this sample. | |
| std::vector< 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 tagged as search_k tag). More... | |
MatchFound callback data.
| std::vector<SearchResult> pbio::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 tagged as 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.