Stores configuration for a ReID inference module.
Definition at line 40 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.


Public Member Functions | |
| ReIDConfigParams () | |
| Construct a ReIDConfigParams instance. More... | |
| ReIDConfigParams (const std::string &configFilePath, const std::string moduleName, const std::string submoduleName) | |
| Construct a ReIDConfigParams instance. More... | |
| ReIDConfigParams (const YAML::Node &fn) | |
| Construct a ReIDConfigParams instance. More... | |
| void | read (const YAML::Node &fn) override |
| Load configuration values from a YAML node. More... | |
| ReIDConfigParams () | |
| Construct a ReIDConfigParams instance. More... | |
| ReIDConfigParams (const std::string &configFilePath, const std::string moduleName, const std::string submoduleName) | |
| Construct a ReIDConfigParams instance. More... | |
| ReIDConfigParams (const YAML::Node &fn) | |
| Construct a ReIDConfigParams 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 | |
| bool | m_keepAspc |
| Keep original aspect ratio when rescaling. More... | |
| bool | m_addFeatureNormalization |
| Whether to perform additional feature normalization for network output features. More... | |
| bool | m_outputReidTensor |
| Whether to output reid tensor. More... | |
| int | m_maxBatchSize |
| Maximum batch size for reid network. More... | |
| int | m_reidFeatureSize |
| Size of each reid feature. More... | |
| int | m_inputOrder |
| Input dimension order: 0: NCHW, 1: NHWC. More... | |
| int | m_width |
| Input image patch width. More... | |
| int | m_height |
| Input image patch height. More... | |
| int | m_channel |
| Input image patch channel. More... | |
| int | m_reidHistorySize |
| Max number of reid features per object. More... | |
| int | m_gpuId |
| Gpu id. More... | |
| float | m_netScaleFactor |
| Input normalization factor. More... | |
| float | m_minVisibility4GalleryUpdate |
| Add ReID embedding to the gallery only if the visibility is not lower than this. More... | |
| float | m_minVisibility4ReidOutput |
| Minimum visibility to output the reid features. More... | |
| size_t | m_workspaceSize |
| Work space for reid network in MiB. More... | |
| std::vector< int > | m_inferDims |
| Reid input dimension. More... | |
| std::vector< float > | m_offsets |
| List of mean values of color components to be subtracted from input. More... | |
| NvBufSurfaceColorFormat | m_colorFormat |
| Color format of input to reid network. More... | |
| REID_TYPES | m_reidType |
| Type of reid. More... | |
| bool | m_useVPICropScaler |
| Use VPI crop scaler instead of in built crop scaler. More... | |
| bool | m_useSegmentationMask4Input |
| Multiply input patches with segmentation mask, so background is set as zero. More... | |
| int | m_debugVerboseLevel |
| Debug message verbose mode level. More... | |
| ReIDConfigParams::ReIDConfigParams | ( | ) |
Construct a ReIDConfigParams instance.
| ReIDConfigParams::ReIDConfigParams | ( | const std::string & | configFilePath, |
| const std::string | moduleName, | ||
| const std::string | submoduleName | ||
| ) |
Construct a ReIDConfigParams instance.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | moduleName | Configuration module name. |
| [in] | submoduleName | Configuration submodule name. |
| ReIDConfigParams::ReIDConfigParams | ( | const YAML::Node & | fn | ) |
Construct a ReIDConfigParams instance.
| [in] | fn | Parsed YAML node. |
| ReIDConfigParams::ReIDConfigParams | ( | ) |
Construct a ReIDConfigParams instance.
| ReIDConfigParams::ReIDConfigParams | ( | const std::string & | configFilePath, |
| const std::string | moduleName, | ||
| const std::string | submoduleName | ||
| ) |
Construct a ReIDConfigParams instance.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | moduleName | Configuration module name. |
| [in] | submoduleName | Configuration submodule name. |
| ReIDConfigParams::ReIDConfigParams | ( | const YAML::Node & | fn | ) |
Construct a ReIDConfigParams instance.
| [in] | fn | Parsed YAML node. |
|
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::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.
|
overridevirtual |
Load configuration values from a YAML node.
| [in] | fn | Parsed YAML node. |
Implements NvTrackerParams.
|
overridevirtual |
Load configuration values from a YAML node.
| [in] | fn | Parsed YAML node. |
Implements NvTrackerParams.
|
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.
| bool ReIDConfigParams::m_addFeatureNormalization |
Whether to perform additional feature normalization for network output features.
Definition at line 67 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_channel |
Input image patch channel.
Definition at line 74 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| NvBufSurfaceColorFormat ReIDConfigParams::m_colorFormat |
Color format of input to reid network.
Definition at line 83 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_debugVerboseLevel |
Debug message verbose mode level.
Definition at line 87 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_gpuId |
Gpu id.
Definition at line 76 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_height |
Input image patch height.
Definition at line 73 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| std::vector< int > ReIDConfigParams::m_inferDims |
Reid input dimension.
Definition at line 81 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_inputOrder |
Input dimension order: 0: NCHW, 1: NHWC.
Definition at line 71 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| bool ReIDConfigParams::m_keepAspc |
Keep original aspect ratio when rescaling.
Definition at line 66 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_maxBatchSize |
Maximum batch size for reid network.
Definition at line 69 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| float ReIDConfigParams::m_minVisibility4GalleryUpdate |
Add ReID embedding to the gallery only if the visibility is not lower than this.
Definition at line 78 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| float ReIDConfigParams::m_minVisibility4ReidOutput |
Minimum visibility to output the reid features.
Definition at line 79 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| float ReIDConfigParams::m_netScaleFactor |
Input normalization factor.
Definition at line 77 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| std::vector< float > ReIDConfigParams::m_offsets |
List of mean values of color components to be subtracted from input.
Definition at line 82 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| bool ReIDConfigParams::m_outputReidTensor |
Whether to output reid tensor.
Definition at line 68 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_reidFeatureSize |
Size of each reid feature.
Definition at line 70 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_reidHistorySize |
Max number of reid features per object.
Definition at line 75 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| REID_TYPES ReIDConfigParams::m_reidType |
Type of reid.
Definition at line 84 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
Referenced by ReID::getReIDType().
| bool ReIDConfigParams::m_useSegmentationMask4Input |
Multiply input patches with segmentation mask, so background is set as zero.
Definition at line 86 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| bool ReIDConfigParams::m_useVPICropScaler |
Use VPI crop scaler instead of in built crop scaler.
Definition at line 85 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| int ReIDConfigParams::m_width |
Input image patch width.
Definition at line 72 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.
| size_t ReIDConfigParams::m_workspaceSize |
Work space for reid network in MiB.
Definition at line 80 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/ReID.hpp.