3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
pbio::VideoWorker::Params Struct Reference

Parameters of the VideoWorker constructor. More...

#include <VideoWorker.h>

Public Member Functions

 Params ()
 Default constructor, set strings to empty, numbers to zero, flags to false.
 
Paramsvideo_worker_config (const pbio::Config value)
 Set the VideoWorker configuration file with optionally overridden parameters. More...
 
Paramsrecognizer_ini_file (const std::string value)
 Set the name of the configuration file for Recognizer that will be used inside VideoWorker. More...
 
Paramsrecognizer_config (const pbio::Config value)
 Set the Recognizer configuration file with optionally overridden parameters. More...
 
Paramsstreams_count (const int value)
 Set the number of video streams. More...
 
Paramsprocessing_threads_count (const int value)
 Set the number of threads for creating templates. More...
 
Paramsmatching_threads_count (const int value)
 Set the number of threads for matching templates with the database. More...
 
Paramsage_gender_estimation_threads_count (const int value)
 Set the number of threads for age_gender estimation. More...
 
Paramsemotions_estimation_threads_count (const int value)
 Set the number of threads for estimation of emotions. More...
 
Paramsshort_time_identification_enabled (const bool value)
 Set the flag enabling short time identification. More...
 
Paramsshort_time_identification_distance_threshold (const float value)
 Set the recognition distance threshold for short time identification. More...
 
Paramsshort_time_identification_outdate_time_seconds (const float value)
 Set outdate_time in seconds for short time identification. More...
 
Paramsactive_liveness_checks_order (const std::vector< ActiveLiveness::CheckType > value)
 Set the order for checking the active liveness.
 

Public Attributes

pbio::Config _video_worker_config
 
std::string _recognizer_ini_file
 
pbio::Config _recognizer_config
 
int _streams_count
 
int _processing_threads_count
 
int _matching_threads_count
 
int _age_gender_estimation_threads_count
 
int _emotions_estimation_threads_count
 
bool _short_time_identification_enabled
 
float _short_time_identification_distance_threshold
 
float _short_time_identification_outdate_time_seconds
 
std::vector
< ActiveLiveness::CheckType
_active_liveness_checks_order
 

Detailed Description

Parameters of the VideoWorker constructor.

Member Function Documentation

Params& pbio::VideoWorker::Params::age_gender_estimation_threads_count ( const int  value)
inline

Set the number of threads for age_gender estimation.

Returns
*this
Params& pbio::VideoWorker::Params::emotions_estimation_threads_count ( const int  value)
inline

Set the number of threads for estimation of emotions.

Returns
*this
Params& pbio::VideoWorker::Params::matching_threads_count ( const int  value)
inline

Set the number of threads for matching templates with the database.

Returns
*this
Params& pbio::VideoWorker::Params::processing_threads_count ( const int  value)
inline

Set the number of threads for creating templates.

Returns
*this
Params& pbio::VideoWorker::Params::recognizer_config ( const pbio::Config  value)
inline

Set the Recognizer configuration file with optionally overridden parameters.

Returns
*this
Params& pbio::VideoWorker::Params::recognizer_ini_file ( const std::string  value)
inline

Set the name of the configuration file for Recognizer that will be used inside VideoWorker.

Returns
*this
Params& pbio::VideoWorker::Params::short_time_identification_distance_threshold ( const float  value)
inline

Set the recognition distance threshold for short time identification.

Returns
*this
Params& pbio::VideoWorker::Params::short_time_identification_enabled ( const bool  value)
inline

Set the flag enabling short time identification.

Returns
*this
Params& pbio::VideoWorker::Params::short_time_identification_outdate_time_seconds ( const float  value)
inline

Set outdate_time in seconds for short time identification.

Returns
*this
Params& pbio::VideoWorker::Params::streams_count ( const int  value)
inline

Set the number of video streams.

Returns
*this
Params& pbio::VideoWorker::Params::video_worker_config ( const pbio::Config  value)
inline

Set the VideoWorker configuration file with optionally overridden parameters.

Returns
*this