Defines the interface for extracting and managing ReID features.
Definition at line 36 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/IReID.hpp.

Public Member Functions | |
| virtual | ~IReID () |
| Release resources owned by the IReID instance. More... | |
| virtual void | initializeRuntime (const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager)=0 |
| Initialize variables and allocate memories. More... | |
| virtual void | initializeModel ()=0 |
| Create TensorRT inference engine; if engine does not exist, serialize from model file. More... | |
| virtual void | queryParams (NvMOTQuery ¶msQuery)=0 |
| Populate the capabilities reported to the tracker. More... | |
| virtual void | doInference (const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta, std::map< NvMOTStreamId, std::deque< DetectedObjInfo >> &detectedObjects, const bool isForReAssoc)=0 |
| Crop and rescale detected objects to create input batch to reid model. More... | |
| virtual void | update ()=0 |
| Update ReID feature gallery after data association. More... | |
| virtual void | removeStream (const NvMOTStreamId videoStreamId)=0 |
| Remove a stream's reid features. More... | |
| virtual void | outputReIDTensor (NvDsReidTensorBatch &reidTensorBatch)=0 |
| Output the ReID tensor of a batch. More... | |
| virtual int | outputTargetReIDInd (NvMOTStreamId streamId, uint targetInd)=0 |
| Output a target's ReID vector index in the batch tensor. More... | |
| virtual void | outputTargetReIDObj (NvMOTStreamId streamId, uint targetInd, NvDsReidTensorBatch &reidTensorBatch, NvDsObjReid &reidObj)=0 |
| Output a target's ReID vector information. More... | |
| virtual bool | isModelInitialized ()=0 |
| Report whether the inference model is initialized. More... | |
| virtual bool | isRuntimeInitialized ()=0 |
| Report whether runtime resources are initialized. More... | |
| virtual const REID_TYPES | getReIDType ()=0 |
| Get the configured ReID implementation type. More... | |
| virtual | ~IReID () |
| Release resources owned by the IReID instance. More... | |
| virtual void | initializeRuntime (const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager)=0 |
| Initialize variables and allocate memories. More... | |
| virtual void | initializeModel ()=0 |
| Create TensorRT inference engine; if engine does not exist, serialize from model file. More... | |
| virtual void | queryParams (NvMOTQuery ¶msQuery)=0 |
| Populate the capabilities reported to the tracker. More... | |
| virtual void | doInference (const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta, std::map< NvMOTStreamId, std::deque< DetectedObjInfo >> &detectedObjects, const bool isForReAssoc)=0 |
| Crop and rescale detected objects to create input batch to reid model. More... | |
| virtual void | update ()=0 |
| Update ReID feature gallery after data association. More... | |
| virtual void | removeStream (const NvMOTStreamId videoStreamId)=0 |
| Remove a stream's reid features. More... | |
| virtual void | outputReIDTensor (NvDsReidTensorBatch &reidTensorBatch)=0 |
| Output the ReID tensor of a batch. More... | |
| virtual int | outputTargetReIDInd (NvMOTStreamId streamId, uint targetInd)=0 |
| Output a target's ReID vector index in the batch tensor. More... | |
| virtual void | outputTargetReIDObj (NvMOTStreamId streamId, uint targetInd, NvDsReidTensorBatch &reidTensorBatch, NvDsObjReid &reidObj)=0 |
| Output a target's ReID vector information. More... | |
| virtual bool | isModelInitialized ()=0 |
| Report whether the inference model is initialized. More... | |
| virtual bool | isRuntimeInitialized ()=0 |
| Report whether runtime resources are initialized. More... | |
| virtual const REID_TYPES | getReIDType ()=0 |
| Get the configured ReID implementation type. More... | |
|
inlinevirtual |
Release resources owned by the IReID instance.
Definition at line 40 of file sources/libs/nvmultiobjecttracker/include/modules/ReID/IReID.hpp.
|
inlinevirtual |
Release resources owned by the IReID instance.
Definition at line 40 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReID/IReID.hpp.
|
pure virtual |
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. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
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. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Get the configured ReID implementation type.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Get the configured ReID implementation type.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Create TensorRT inference engine; if engine does not exist, serialize from model file.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Create TensorRT inference engine; if engine does not exist, serialize from model file.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
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. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
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. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Report whether the inference model is initialized.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Report whether the inference model is initialized.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Report whether runtime resources are initialized.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Report whether runtime resources are initialized.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Output the ReID tensor of a batch.
| [out] | reidTensorBatch | Batch reid tensor output to be filled. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Output the ReID tensor of a batch.
| [out] | reidTensorBatch | Batch reid tensor output to be filled. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Output a target's ReID vector index in the batch tensor.
| [in] | streamId | Stream index. |
| [in] | targetInd | The target index. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Output a target's ReID vector index in the batch tensor.
| [in] | streamId | Stream index. |
| [in] | targetInd | The target index. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Output a target's ReID vector information.
| [in] | streamId | Stream index. |
| [in] | targetInd | The target index. |
| [in] | reidTensorBatch | Batch reid tensor to get the memory pointers. |
| [out] | reidObj | The target's ReID vector memory pointers and feature size. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Output a target's ReID vector information.
| [in] | streamId | Stream index. |
| [in] | targetInd | The target index. |
| [in] | reidTensorBatch | Batch reid tensor to get the memory pointers. |
| [out] | reidObj | The target's ReID vector memory pointers and feature size. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Populate the capabilities reported to the tracker.
| [out] | paramsQuery | The output query parameters. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Populate the capabilities reported to the tracker.
| [out] | paramsQuery | The output query parameters. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Remove a stream's reid features.
| [in] | videoStreamId | Video stream id. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Remove a stream's reid features.
| [in] | videoStreamId | Video stream id. |
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Update ReID feature gallery after data association.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.
|
pure virtual |
Update ReID feature gallery after data association.
Implemented in ReID, ReID, EnsembleReID, EnsembleReID, DummyReID, and DummyReID.