|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef REIDLIB_DUMMYREID_HPP_
19 #define REIDLIB_DUMMYREID_HPP_
21 #include "modules/ReID/IReID.hpp"
22 #include "modules/VisualTracker/IVisualTracker.hpp"
23 #include "modules/NvMultiObjectTracker/NvTrackerParams.hpp"
24 #include "modules/NvMultiObjectTracker/NvTrackedObject.hpp"
50 void read(
const YAML::Node &fn)
override;
65 DummyReID(
const std::string &configFilePath);
78 const std::shared_ptr<NvTrackedObjectManager> &targetManager
97 const std::map<NvMOTStreamId, NvMOTFrame *>& inputMeta,
98 std::map<
NvMOTStreamId, std::deque<DetectedObjInfo>> &detectedObjects,
const bool isForReAssoc
151 #endif // REIDLIB_DUMMYREID_HPP_
REID_TYPES m_reidType
The type of reid.
void queryParams(NvMOTQuery ¶msQuery)
Populate the capabilities reported to the tracker.
int outputTargetReIDInd(NvMOTStreamId streamId, uint targetInd) override
Output a target's ReID vector index in the batch tensor.
const REID_TYPES getReIDType() override
Get the configured ReID implementation type.
virtual ~DummyReID()
Release resources owned by the DummyReID instance.
void outputTargetReIDObj(NvMOTStreamId streamId, uint targetInd, NvDsReidTensorBatch &reidTensorBatch, NvDsObjReid &reidObj) override
Output a target's ReID vector information.
Stores configuration for a ReID implementation.
void outputReIDTensor(NvDsReidTensorBatch &reidTensorBatch) override
Output the ReID tensor of a batch.
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.
Provides a no-op ReID implementation.
REID_TYPES
Types of ReID usage.
bool isRuntimeInitialized() override
Report whether runtime resources are initialized.
Holds Reid Vector information for an object.
DummyReID(const std::string &configFilePath)
Construct a DummyReID instance from configuration.
DummyReIDConfigParams m_params
Config params for reid module.
void initializeModel() override
Create TensorRT inference engine; if engine does not exist, serialize from model file.
bool m_isModelInit
Reid status if reid model initialized.
DummyReIDConfigParams()
Construct a DummyReIDConfigParams instance.
Provides common loading helpers for tracker configuration parameters.
int m_debugVerboseLevel
Debug message verbose mode level.
bool isModelInitialized() override
Report whether the inference model is initialized.
void update() override
Update ReID feature gallery after data association.
void initializeRuntime(const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager) override
Initialize variables and allocate memories.
Holds the capabilities and requirements reported by the tracker library.
void removeStream(const NvMOTStreamId videoStreamId) override
Remove a stream's reid features.
Defines the interface for extracting and managing ReID features.
Information about the input source frames for the input frame batch.
void read(const YAML::Node &fn) override
Load configuration values from a YAML node.
ReID tensor of the batch.
bool m_isRuntimeInit
Reid status if runtime variables initialized.