IDLive Face C++ API 1.46.0
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
facesdk::InitConfig Struct Reference

Configuration file parser. More...

#include <facesdk/FaceSDK.h>

Static Public Member Functions

static InitConfigPtr createConfig (const std::string &dir, const std::string &config_file_name)
 Configuration object creator.
 
static InitConfigPtr createConfig (const std::string &file_path)
 Configuration object creator.
 

Detailed Description

Configuration file parser.

Member Function Documentation

◆ createConfig() [1/2]

static InitConfigPtr facesdk::InitConfig::createConfig ( const std::string &  dir,
const std::string &  config_file_name 
)
static

Configuration object creator.

Parameters
dirPath to directory with configuration files
config_file_nameConfiguration file name
Returns
Smart pointer to configuration object
Exceptions
std::runtime_error

◆ createConfig() [2/2]

static InitConfigPtr facesdk::InitConfig::createConfig ( const std::string &  file_path)
static

Configuration object creator.

Parameters
file_pathFull path to configuration file
Returns
Smart pointer to configuration object
Exceptions
std::runtime_error