NVIDIA DeepStream SDK API Reference

9.2 Release
EnsembleReIDConfigParams Class Reference

Detailed Description

Stores configuration for a ReID implementation.

Definition at line 28 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/EnsembleReID.hpp.

Inheritance diagram for EnsembleReIDConfigParams:
Collaboration diagram for EnsembleReIDConfigParams:

Public Member Functions

 EnsembleReIDConfigParams ()
 Construct a EnsembleReIDConfigParams instance. More...
 
 EnsembleReIDConfigParams (const std::string &configFilePath, const std::string moduleName)
 Construct a EnsembleReIDConfigParams instance. More...
 
 EnsembleReIDConfigParams (const YAML::Node &fn)
 Construct a EnsembleReIDConfigParams instance. More...
 
void read (const YAML::Node &fn) override
 Load configuration values from a YAML node. More...
 
 EnsembleReIDConfigParams ()
 Construct a EnsembleReIDConfigParams instance. More...
 
 EnsembleReIDConfigParams (const std::string &configFilePath, const std::string moduleName)
 Construct a EnsembleReIDConfigParams instance. More...
 
 EnsembleReIDConfigParams (const YAML::Node &fn)
 Construct a EnsembleReIDConfigParams instance. More...
 
void read (const YAML::Node &fn) override
 Load configuration values from a YAML node. More...
 

Static Public Member Functions

static std::string resolvePathRelativeToConfig (const std::string &configFilePath, const std::string &filePath)
 Resolve a configured path relative to the tracker configuration file. More...
 
static std::string resolvePathRelativeToConfig (const std::string &configFilePath, const std::string &filePath)
 Resolve a configured path relative to the tracker configuration file. More...
 
static const YAML::Node getConfigRoot (const std::string &configFilePath, const bool printMessage=false)
 Load the root YAML node from a tracker configuration file. More...
 
static const YAML::Node getConfigRoot (const std::string &configFilePath, const bool printMessage=false)
 Load the root YAML node from a tracker configuration file. More...
 

Data Fields

int m_debugVerboseLevel
 Debug message verbose mode level. More...
 
int m_enableModelId
 The id of the enabled model, -1 is to enable all. More...
 
std::set< std::string > m_modelNameList
 List of reid model names. More...
 
REID_TYPES m_reidType
 The type of reid. More...
 

Constructor & Destructor Documentation

◆ EnsembleReIDConfigParams() [1/6]

EnsembleReIDConfigParams::EnsembleReIDConfigParams ( )

Construct a EnsembleReIDConfigParams instance.

◆ EnsembleReIDConfigParams() [2/6]

EnsembleReIDConfigParams::EnsembleReIDConfigParams ( const std::string &  configFilePath,
const std::string  moduleName 
)

Construct a EnsembleReIDConfigParams instance.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]moduleNameConfiguration module name.

◆ EnsembleReIDConfigParams() [3/6]

EnsembleReIDConfigParams::EnsembleReIDConfigParams ( const YAML::Node &  fn)

Construct a EnsembleReIDConfigParams instance.

Parameters
[in]fnParsed YAML node.

◆ EnsembleReIDConfigParams() [4/6]

EnsembleReIDConfigParams::EnsembleReIDConfigParams ( )

Construct a EnsembleReIDConfigParams instance.

◆ EnsembleReIDConfigParams() [5/6]

EnsembleReIDConfigParams::EnsembleReIDConfigParams ( const std::string &  configFilePath,
const std::string  moduleName 
)

Construct a EnsembleReIDConfigParams instance.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]moduleNameConfiguration module name.

◆ EnsembleReIDConfigParams() [6/6]

EnsembleReIDConfigParams::EnsembleReIDConfigParams ( const YAML::Node &  fn)

Construct a EnsembleReIDConfigParams instance.

Parameters
[in]fnParsed YAML node.

Member Function Documentation

◆ getConfigRoot() [1/2]

static const YAML::Node NvTrackerParams::getConfigRoot ( const std::string &  configFilePath,
const bool  printMessage = false 
)
inlinestaticinherited

◆ getConfigRoot() [2/2]

static const YAML::Node NvTrackerParams::getConfigRoot ( const std::string &  configFilePath,
const bool  printMessage = false 
)
inlinestaticinherited

Load the root YAML node from a tracker configuration file.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]printMessageEnables warning output when the configuration cannot be loaded.
Returns
Loaded YAML root node, or an empty node when loading fails.

Definition at line 121 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.

References CLOG.

◆ read() [1/2]

void EnsembleReIDConfigParams::read ( const YAML::Node &  fn)
overridevirtual

Load configuration values from a YAML node.

Parameters
[in]fnParsed YAML node.

Implements NvTrackerParams.

◆ read() [2/2]

void EnsembleReIDConfigParams::read ( const YAML::Node &  fn)
overridevirtual

Load configuration values from a YAML node.

Parameters
[in]fnParsed YAML node.

Implements NvTrackerParams.

◆ resolvePathRelativeToConfig() [1/2]

static std::string NvTrackerParams::resolvePathRelativeToConfig ( const std::string &  configFilePath,
const std::string &  filePath 
)
inlinestaticinherited

Resolve a configured path relative to the tracker configuration file.

Existing paths are canonicalized, while nonexistent relative paths remain joined to the configuration directory.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]filePathAbsolute or configuration-relative path to resolve.
Returns
Resolved path, or the original path when the configuration path cannot be resolved.

Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.

Referenced by CommunicatorParams::CommunicatorParams(), and MqttCommunicatorParams::MqttCommunicatorParams().

◆ resolvePathRelativeToConfig() [2/2]

static std::string NvTrackerParams::resolvePathRelativeToConfig ( const std::string &  configFilePath,
const std::string &  filePath 
)
inlinestaticinherited

Resolve a configured path relative to the tracker configuration file.

Existing paths are canonicalized, while nonexistent relative paths remain joined to the configuration directory.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]filePathAbsolute or configuration-relative path to resolve.
Returns
Resolved path, or the original path when the configuration path cannot be resolved.

Definition at line 55 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.

Field Documentation

◆ m_debugVerboseLevel

int EnsembleReIDConfigParams::m_debugVerboseLevel

Debug message verbose mode level.

Definition at line 53 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/EnsembleReID.hpp.

◆ m_enableModelId

int EnsembleReIDConfigParams::m_enableModelId

The id of the enabled model, -1 is to enable all.

Definition at line 54 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/EnsembleReID.hpp.

◆ m_modelNameList

std::set< std::string > EnsembleReIDConfigParams::m_modelNameList

List of reid model names.

Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/EnsembleReID.hpp.

◆ m_reidType

REID_TYPES EnsembleReIDConfigParams::m_reidType

The documentation for this class was generated from the following file: