Provides a no-op ReID implementation.
Definition at line 57 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.


Public Member Functions | |
| DummyReID (const std::string &configFilePath) | |
| Construct a DummyReID instance from configuration. More... | |
| virtual | ~DummyReID () |
| Release resources owned by the DummyReID instance. More... | |
| void | initializeRuntime (const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager) override |
| Initialize variables and allocate memories. More... | |
| void | initializeModel () override |
| Create TensorRT inference engine; if engine does not exist, serialize from model file. More... | |
| void | queryParams (NvMOTQuery ¶msQuery) |
| Populate the capabilities reported to the tracker. More... | |
| void | doInference (const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta, std::map< NvMOTStreamId, std::deque< DetectedObjInfo >> &detectedObjects, const bool isForReAssoc) override |
| Crop and rescale detected objects to create input batch to reid model. More... | |
| void | update () override |
| Update ReID feature gallery after data association. More... | |
| void | removeStream (const NvMOTStreamId videoStreamId) override |
| Remove a stream's reid features. More... | |
| void | outputReIDTensor (NvDsReidTensorBatch &reidTensorBatch) override |
| Output the ReID tensor of a batch. More... | |
| int | outputTargetReIDInd (NvMOTStreamId streamId, uint targetInd) override |
| Output a target's ReID vector index in the batch tensor. More... | |
| void | outputTargetReIDObj (NvMOTStreamId streamId, uint targetInd, NvDsReidTensorBatch &reidTensorBatch, NvDsObjReid &reidObj) override |
| Output a target's ReID vector information. More... | |
| bool | isModelInitialized () override |
| Report whether the inference model is initialized. More... | |
| bool | isRuntimeInitialized () override |
| Report whether runtime resources are initialized. More... | |
| const REID_TYPES | getReIDType () override |
| Get the configured ReID implementation type. More... | |
| DummyReID (const std::string &configFilePath) | |
| Construct a DummyReID instance from configuration. More... | |
| virtual | ~DummyReID () |
| Release resources owned by the DummyReID instance. More... | |
| void | initializeRuntime (const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager) override |
| Initialize variables and allocate memories. More... | |
| void | initializeModel () override |
| Create TensorRT inference engine; if engine does not exist, serialize from model file. More... | |
| void | queryParams (NvMOTQuery ¶msQuery) |
| Populate the capabilities reported to the tracker. More... | |
| void | doInference (const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta, std::map< NvMOTStreamId, std::deque< DetectedObjInfo >> &detectedObjects, const bool isForReAssoc) override |
| Crop and rescale detected objects to create input batch to reid model. More... | |
| void | update () override |
| Update ReID feature gallery after data association. More... | |
| void | removeStream (const NvMOTStreamId videoStreamId) override |
| Remove a stream's reid features. More... | |
| void | outputReIDTensor (NvDsReidTensorBatch &reidTensorBatch) override |
| Output the ReID tensor of a batch. More... | |
| int | outputTargetReIDInd (NvMOTStreamId streamId, uint targetInd) override |
| Output a target's ReID vector index in the batch tensor. More... | |
| void | outputTargetReIDObj (NvMOTStreamId streamId, uint targetInd, NvDsReidTensorBatch &reidTensorBatch, NvDsObjReid &reidObj) override |
| Output a target's ReID vector information. More... | |
| bool | isModelInitialized () override |
| Report whether the inference model is initialized. More... | |
| bool | isRuntimeInitialized () override |
| Report whether runtime resources are initialized. More... | |
| const REID_TYPES | getReIDType () override |
| Get the configured ReID implementation type. More... | |
Protected Attributes | |
| bool | m_isModelInit |
| Reid status if reid model initialized. More... | |
| bool | m_isRuntimeInit |
| Reid status if runtime variables initialized. More... | |
| DummyReIDConfigParams | m_params |
| Config params for reid module. More... | |
| DummyReID::DummyReID | ( | const std::string & | configFilePath | ) |
Construct a DummyReID instance from configuration.
| [in] | configFilePath | Path to the tracker configuration file. |
|
virtual |
Release resources owned by the DummyReID instance.
| DummyReID::DummyReID | ( | const std::string & | configFilePath | ) |
Construct a DummyReID instance from configuration.
| [in] | configFilePath | Path to the tracker configuration file. |
|
virtual |
Release resources owned by the DummyReID instance.
|
overridevirtual |
Crop and rescale detected objects to create input batch to reid model.
| [in] | inputMeta | A batch of input frames. |
| [in,out] | detectedObjects | Newly detected objects in each stream. |
| [in] | isForReAssoc | Whether this inference is for reassociation. |
Implements IReID.
|
overridevirtual |
Crop and rescale detected objects to create input batch to reid model.
| [in] | inputMeta | A batch of input frames. |
| [in,out] | detectedObjects | Newly detected objects in each stream. |
| [in] | isForReAssoc | Whether this inference is for reassociation. |
Implements IReID.
|
inlineoverridevirtual |
Get the configured ReID implementation type.
Implements IReID.
Definition at line 142 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
References m_params, and DummyReIDConfigParams::m_reidType.
|
inlineoverridevirtual |
Get the configured ReID implementation type.
Implements IReID.
Definition at line 142 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
References m_params, and DummyReIDConfigParams::m_reidType.
|
overridevirtual |
Create TensorRT inference engine; if engine does not exist, serialize from model file.
Implements IReID.
|
overridevirtual |
Create TensorRT inference engine; if engine does not exist, serialize from model file.
Implements IReID.
|
overridevirtual |
Initialize variables and allocate memories.
| [in] | frameInfo | Metadata about the source image, such as size and color. |
| [in] | maxTargetsPerStream | Maximum number of targets to track in each stream. |
| [in] | targetManager | Target manager of the tracked objects. |
Implements IReID.
|
overridevirtual |
Initialize variables and allocate memories.
| [in] | frameInfo | Metadata about the source image, such as size and color. |
| [in] | maxTargetsPerStream | Maximum number of targets to track in each stream. |
| [in] | targetManager | Target manager of the tracked objects. |
Implements IReID.
|
inlineoverridevirtual |
Report whether the inference model is initialized.
Implements IReID.
Definition at line 136 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
References m_isModelInit.
|
inlineoverridevirtual |
Report whether the inference model is initialized.
Implements IReID.
Definition at line 136 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
References m_isModelInit.
|
inlineoverridevirtual |
Report whether runtime resources are initialized.
Implements IReID.
Definition at line 139 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
References m_isRuntimeInit.
|
inlineoverridevirtual |
Report whether runtime resources are initialized.
Implements IReID.
Definition at line 139 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
References m_isRuntimeInit.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
virtual |
Populate the capabilities reported to the tracker.
| [out] | paramsQuery | The output query parameters. |
Implements IReID.
|
virtual |
Populate the capabilities reported to the tracker.
| [out] | paramsQuery | The output query parameters. |
Implements IReID.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
protected |
Reid status if reid model initialized.
Definition at line 146 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
Referenced by isModelInitialized().
|
protected |
Reid status if runtime variables initialized.
Definition at line 147 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
Referenced by isRuntimeInitialized().
|
protected |
Config params for reid module.
Definition at line 148 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/DummyReID.hpp.
Referenced by getReIDType().