Configuration parameters for the visual tracker factory.
Definition at line 33 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
Public Member Functions | |
| VisualTrackerFactoryParams () | |
| Construct default factory parameters selecting the dummy tracker. More... | |
| VisualTrackerFactoryParams (const std::string &configFilePath, const std::string moduleName) | |
| Construct factory parameters from a named module in a file. More... | |
| VisualTrackerFactoryParams (const YAML::Node &fn) | |
| Construct factory parameters from a YAML node. More... | |
| void | read (const YAML::Node &fn) override |
| Read visual tracker factory parameters from a YAML node. More... | |
| VisualTrackerFactoryParams () | |
| Construct default factory parameters selecting the dummy tracker. More... | |
| VisualTrackerFactoryParams (const std::string &configFilePath, const std::string moduleName) | |
| Construct factory parameters from a named module in a file. More... | |
| VisualTrackerFactoryParams (const YAML::Node &fn) | |
| Construct factory parameters from a YAML node. More... | |
| void | read (const YAML::Node &fn) override |
| Read visual tracker factory 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 | |
| VISUAL_TRACKER_TYPES | m_visualTrackerType |
| The type of visual tracker. More... | |
|
inline |
Construct default factory parameters selecting the dummy tracker.
Definition at line 37 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References DUMMY_VOT, and m_visualTrackerType.
Referenced by read().
|
inline |
Construct factory parameters from a named module in a file.
| [in] | configFilePath | The path to the configuration file. |
| [in] | moduleName | The configuration module name. |
Definition at line 47 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References NvTrackerParams::getConfigRoot(), and read().
|
inline |
Construct factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure containing the configuration. |
Definition at line 57 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References read().
|
inline |
Construct default factory parameters selecting the dummy tracker.
Definition at line 37 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References DUMMY_VOT, and m_visualTrackerType.
|
inline |
Construct factory parameters from a named module in a file.
| [in] | configFilePath | The path to the configuration file. |
| [in] | moduleName | The configuration module name. |
Definition at line 47 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References NvTrackerParams::getConfigRoot(), and read().
|
inline |
Construct factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure containing the configuration. |
Definition at line 57 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References read().
|
inlinestaticinherited |
Load the root YAML node from a tracker configuration file.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | printMessage | Enables warning output when the configuration cannot be loaded. |
Definition at line 121 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
References CLOG.
Referenced by CommunicatorFactoryParams::CommunicatorFactoryParams(), CommunicatorParams::CommunicatorParams(), DataAssociatorFactoryParams::DataAssociatorFactoryParams(), EstimatorFactoryParams2::EstimatorFactoryParams2(), MqttCommunicatorParams::MqttCommunicatorParams(), MultiViewAssociatorFactoryParams::MultiViewAssociatorFactoryParams(), MultiViewAssociatorParams::MultiViewAssociatorParams(), PoseEstimatorFactoryParams::PoseEstimatorFactoryParams(), ReIDFactoryParams::ReIDFactoryParams(), ReIDServiceFactoryParams::ReIDServiceFactoryParams(), SegmenterFactoryParams::SegmenterFactoryParams(), and VisualTrackerFactoryParams().
|
inlinestaticinherited |
Load the root YAML node from a tracker configuration file.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | printMessage | Enables warning output when the configuration cannot be loaded. |
Definition at line 121 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
References CLOG.
|
inlineoverridevirtual |
Read visual tracker factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure of configuration parameters. |
Set the default values.
Validate the visual tracker type (valid range: 0-2).
Implements NvTrackerParams.
Definition at line 66 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References m_visualTrackerType, and VisualTrackerFactoryParams().
|
inlineoverridevirtual |
Read visual tracker factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure of configuration parameters. |
Set the default values.
Validate the visual tracker type (valid range: 0-2).
Implements NvTrackerParams.
Definition at line 66 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
References m_visualTrackerType, and VisualTrackerFactoryParams().
Referenced by VisualTrackerFactoryParams().
|
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.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | filePath | Absolute or configuration-relative path to resolve. |
Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
Referenced by CommunicatorParams::CommunicatorParams(), and MqttCommunicatorParams::MqttCommunicatorParams().
|
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.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | filePath | Absolute or configuration-relative path to resolve. |
Definition at line 55 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
| VISUAL_TRACKER_TYPES VisualTrackerFactoryParams::m_visualTrackerType |
The type of visual tracker.
Definition at line 92 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.
Referenced by VisualTrackerFactory::makeVisualTracker(), read(), and VisualTrackerFactoryParams().