NVIDIA DeepStream SDK API Reference

9.2 Release
NvTrackerParamsObjectModelProjector Class Reference

Detailed Description

Store object-model projector configuration parameters.

Definition at line 142 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

Inheritance diagram for NvTrackerParamsObjectModelProjector:
Collaboration diagram for NvTrackerParamsObjectModelProjector:

Public Member Functions

 NvTrackerParamsObjectModelProjector ()
 Initialize object-model projector parameters with default values. More...
 
 NvTrackerParamsObjectModelProjector (const std::string &configFilePath, const std::string moduleName)
 Initialize object-model projector parameters from a configuration module. More...
 
 NvTrackerParamsObjectModelProjector (const YAML::Node &fn)
 Initialize object-model projector parameters from a YAML node. More...
 
void read (const YAML::Node &fn) override
 Update object-model projector parameters from a YAML node. More...
 
 NvTrackerParamsObjectModelProjector ()
 Initialize object-model projector parameters with default values. More...
 
 NvTrackerParamsObjectModelProjector (const std::string &configFilePath, const std::string moduleName)
 Initialize object-model projector parameters from a configuration module. More...
 
 NvTrackerParamsObjectModelProjector (const YAML::Node &fn)
 Initialize object-model projector parameters from a YAML node. More...
 
void read (const YAML::Node &fn) override
 Update object-model projector 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 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
 Controls debug message verbosity. More...
 
std::vector< std::string > m_cameraModelFilepath
 Stores camera-model paths indexed by stream. More...
 
std::map< std::string, std::string > m_cameraModelFilepathMap
 Stores camera-model paths keyed by sensor name. More...
 
std::vector< std::string > m_proj3DBboxFilePath
 Stores external three-dimensional bounding-box paths. More...
 
bool m_outputFootLocation
 Enables foot-location output. More...
 
bool m_outputConvexHull
 Enables convex-hull output. More...
 
OBJ_MODEL_TYPE m_objectModelType
 Selects the object-model type. More...
 
int m_maxConvexHullSize
 Specifies the maximum number of convex-hull points. More...
 
float m_waistHeightRatio
 Specifies the ratio of hip-keypoint height to total height. More...
 
float m_eyeHeightRatio
 Specifies the ratio of eye-keypoint height to total height. More...
 
bool m_keepDetBboxForInitEstimation
 Keeps the detector box for initial association instead of the recovered-model box. More...
 
float m_minPoseConfidence
 Minimum pose keypoint confidence for adaptive height estimation. More...
 
float m_useDefaultModelHeight
 Overrides class-specific model height when positive. More...
 
float m_useDefaultModelRadius
 Overrides class-specific model radius when positive. More...
 

Constructor & Destructor Documentation

◆ NvTrackerParamsObjectModelProjector() [1/6]

NvTrackerParamsObjectModelProjector::NvTrackerParamsObjectModelProjector ( )

Initialize object-model projector parameters with default values.

◆ NvTrackerParamsObjectModelProjector() [2/6]

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

Initialize object-model projector parameters from a configuration module.

Parameters
[in]configFilePathThe path to a configuration file.
[in]moduleNameThe configuration module name.

◆ NvTrackerParamsObjectModelProjector() [3/6]

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

Initialize object-model projector parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

◆ NvTrackerParamsObjectModelProjector() [4/6]

NvTrackerParamsObjectModelProjector::NvTrackerParamsObjectModelProjector ( )

Initialize object-model projector parameters with default values.

◆ NvTrackerParamsObjectModelProjector() [5/6]

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

Initialize object-model projector parameters from a configuration module.

Parameters
[in]configFilePathThe path to a configuration file.
[in]moduleNameThe configuration module name.

◆ NvTrackerParamsObjectModelProjector() [6/6]

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

Initialize object-model projector parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

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 NvTrackerParamsObjectModelProjector::read ( const YAML::Node &  fn)
overridevirtual

Update object-model projector parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

Implements NvTrackerParams.

◆ read() [2/2]

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

Update object-model projector parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

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_cameraModelFilepath

std::vector< std::string > NvTrackerParamsObjectModelProjector::m_cameraModelFilepath

Stores camera-model paths indexed by stream.

Definition at line 168 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_cameraModelFilepathMap

std::map< std::string, std::string > NvTrackerParamsObjectModelProjector::m_cameraModelFilepathMap

Stores camera-model paths keyed by sensor name.

Definition at line 169 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_debugVerboseLevel

◆ m_eyeHeightRatio

float NvTrackerParamsObjectModelProjector::m_eyeHeightRatio

Specifies the ratio of eye-keypoint height to total height.

Definition at line 176 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_keepDetBboxForInitEstimation

bool NvTrackerParamsObjectModelProjector::m_keepDetBboxForInitEstimation

Keeps the detector box for initial association instead of the recovered-model box.

Definition at line 177 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_maxConvexHullSize

int NvTrackerParamsObjectModelProjector::m_maxConvexHullSize

Specifies the maximum number of convex-hull points.

Definition at line 174 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_minPoseConfidence

float NvTrackerParamsObjectModelProjector::m_minPoseConfidence

Minimum pose keypoint confidence for adaptive height estimation.

Definition at line 178 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

Referenced by ObjectModelProjector::getMinPoseConfidence().

◆ m_objectModelType

OBJ_MODEL_TYPE NvTrackerParamsObjectModelProjector::m_objectModelType

◆ m_outputConvexHull

bool NvTrackerParamsObjectModelProjector::m_outputConvexHull

◆ m_outputFootLocation

bool NvTrackerParamsObjectModelProjector::m_outputFootLocation

◆ m_proj3DBboxFilePath

std::vector< std::string > NvTrackerParamsObjectModelProjector::m_proj3DBboxFilePath

Stores external three-dimensional bounding-box paths.

Definition at line 170 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_useDefaultModelHeight

float NvTrackerParamsObjectModelProjector::m_useDefaultModelHeight

Overrides class-specific model height when positive.

Definition at line 179 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_useDefaultModelRadius

float NvTrackerParamsObjectModelProjector::m_useDefaultModelRadius

Overrides class-specific model radius when positive.

Definition at line 180 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.

◆ m_waistHeightRatio

float NvTrackerParamsObjectModelProjector::m_waistHeightRatio

Specifies the ratio of hip-keypoint height to total height.

Definition at line 175 of file sources/libs/nvmultiobjecttracker/include/modules/ObjectModelProjector/ObjectModelProjector.hpp.


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