NVIDIA DeepStream SDK API Reference

9.2 Release
NvTrackerParams Class Referenceabstract

Detailed Description

Provides common loading helpers for tracker configuration parameters.

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

Inheritance diagram for NvTrackerParams:

Public Member Functions

 NvTrackerParams ()
 Initialize the tracker parameter interface. More...
 
virtual void read (const YAML::Node &fn)=0
 Read tracker parameters from a YAML node. More...
 
 NvTrackerParams ()
 Initialize the tracker parameter interface. More...
 
virtual void read (const YAML::Node &fn)=0
 Read tracker parameters 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 const YAML::Node getConfigRoot (const std::string &configFilePath, const bool printMessage=false)
 Load the root YAML node from a 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...
 

Constructor & Destructor Documentation

◆ NvTrackerParams() [1/2]

NvTrackerParams::NvTrackerParams ( )
inline

Initialize the tracker parameter interface.

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

◆ NvTrackerParams() [2/2]

NvTrackerParams::NvTrackerParams ( )
inline

Initialize the tracker parameter interface.

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

Member Function Documentation

◆ getConfigRoot() [1/2]

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

◆ getConfigRoot() [2/2]

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

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]

virtual void NvTrackerParams::read ( const YAML::Node &  fn)
pure virtual

Read tracker parameters from a YAML node.

Parameters
[in]fnYAML node containing tracker configuration.

Implemented in NvTrackerParamsObjectModelProjector, NvTrackerParamsObjectModelProjector, NvTrackerParamsTargetManager, NvTrackerParamsTargetManager, SegmenterConfigParams, SegmenterConfigParams, MultiViewAssociatorFactoryParams, MultiViewAssociatorFactoryParams, MultiViewAssociatorParams, MultiViewAssociatorParams, NvTrackerParamsTrajectoryManager, NvTrackerParamsTrajectoryManager, NvTrackerParamsBase, DCFTrackerConfigParams, NvTrackerParamsBase, DCFTrackerConfigParams, MqttCommunicatorParams, MqttCommunicatorParams, CommunicatorParams, CommunicatorParams, VisualTrackerFactoryParams, VisualTrackerFactoryParams, ReIDFactoryParams, ReIDFactoryParams, EstimatorFactoryParams2, ReIDConfigParams, EstimatorFactoryParams2, ReIDConfigParams, ReIDServiceFactoryParams, SegmenterFactoryParams, ReIDServiceFactoryParams, SegmenterFactoryParams, NvTrackerParamsAssoc, PoseEstimatorFactoryParams, NvTrackerParamsAssoc, PoseEstimatorFactoryParams, DataAssociatorFactoryParams, PoseInferenceConfigParams, DataAssociatorFactoryParams, PoseInferenceConfigParams, CommunicatorFactoryParams, CommunicatorFactoryParams, VisualTrackerConfigParams, VisualTrackerConfigParams, TRTConfigParams, TRTConfigParams, SimpleEstimatorParams2, EnsembleReIDConfigParams, SimpleEstimatorParams2, EnsembleReIDConfigParams, DummyEstimatorParams2, DummyReIDConfigParams, ReIDServiceConfigParams, DummyEstimatorParams2, DummyReIDConfigParams, ReIDServiceConfigParams, DummySegmenterConfigParams, DummyVisualTrackerConfigParams, DummySegmenterConfigParams, and DummyVisualTrackerConfigParams.

◆ read() [2/2]

virtual void NvTrackerParams::read ( const YAML::Node &  fn)
pure virtual

Read tracker parameters from a YAML node.

Parameters
[in]fnYAML node containing tracker configuration.

Implemented in NvTrackerParamsObjectModelProjector, NvTrackerParamsObjectModelProjector, NvTrackerParamsTargetManager, NvTrackerParamsTargetManager, SegmenterConfigParams, SegmenterConfigParams, MultiViewAssociatorFactoryParams, MultiViewAssociatorFactoryParams, MultiViewAssociatorParams, MultiViewAssociatorParams, NvTrackerParamsTrajectoryManager, NvTrackerParamsTrajectoryManager, NvTrackerParamsBase, DCFTrackerConfigParams, NvTrackerParamsBase, DCFTrackerConfigParams, MqttCommunicatorParams, MqttCommunicatorParams, CommunicatorParams, CommunicatorParams, VisualTrackerFactoryParams, VisualTrackerFactoryParams, ReIDFactoryParams, ReIDFactoryParams, EstimatorFactoryParams2, ReIDConfigParams, EstimatorFactoryParams2, ReIDConfigParams, ReIDServiceFactoryParams, SegmenterFactoryParams, ReIDServiceFactoryParams, SegmenterFactoryParams, NvTrackerParamsAssoc, PoseEstimatorFactoryParams, NvTrackerParamsAssoc, PoseEstimatorFactoryParams, DataAssociatorFactoryParams, PoseInferenceConfigParams, DataAssociatorFactoryParams, PoseInferenceConfigParams, CommunicatorFactoryParams, CommunicatorFactoryParams, VisualTrackerConfigParams, VisualTrackerConfigParams, TRTConfigParams, TRTConfigParams, SimpleEstimatorParams2, EnsembleReIDConfigParams, SimpleEstimatorParams2, EnsembleReIDConfigParams, DummyEstimatorParams2, DummyReIDConfigParams, ReIDServiceConfigParams, DummyEstimatorParams2, DummyReIDConfigParams, ReIDServiceConfigParams, DummySegmenterConfigParams, DummyVisualTrackerConfigParams, DummySegmenterConfigParams, and DummyVisualTrackerConfigParams.

◆ resolvePathRelativeToConfig() [1/2]

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

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 
)
inlinestatic

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.


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