|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef REIDLIB_IREID_HPP_
19 #define REIDLIB_IREID_HPP_
23 #include "modules/NvMultiObjectTracker/NvMultiObjectTracker_common.hpp"
24 #include "modules/NvMultiObjectTracker/NvTrackedObject.hpp"
50 const std::shared_ptr<NvTrackedObjectManager> &targetManager
69 const std::map<NvMOTStreamId, NvMOTFrame *>& inputMeta,
70 std::map<
NvMOTStreamId, std::deque<DetectedObjInfo>> &detectedObjects,
const bool isForReAssoc
117 #endif // REIDLIB_IREID_HPP_
virtual void update()=0
Update ReID feature gallery after data association.
virtual void queryParams(NvMOTQuery ¶msQuery)=0
Populate the capabilities reported to the tracker.
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.
virtual void initializeRuntime(const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager)=0
Initialize variables and allocate memories.
REID_TYPES
Types of ReID usage.
virtual ~IReID()
Release resources owned by the IReID instance.
virtual void outputTargetReIDObj(NvMOTStreamId streamId, uint targetInd, NvDsReidTensorBatch &reidTensorBatch, NvDsObjReid &reidObj)=0
Output a target's ReID vector information.
Holds Reid Vector information for an object.
@ BOTH
ReID features used for both association and re-association.
virtual void initializeModel()=0
Create TensorRT inference engine; if engine does not exist, serialize from model file.
@ DUMMY_REID
No ReID feature extraction.
virtual int outputTargetReIDInd(NvMOTStreamId streamId, uint targetInd)=0
Output a target's ReID vector index in the batch tensor.
@ NvDEEPSORT
ReID features used for the NvDeepSORT association.
Holds the capabilities and requirements reported by the tracker library.
virtual const REID_TYPES getReIDType()=0
Get the configured ReID implementation type.
virtual void outputReIDTensor(NvDsReidTensorBatch &reidTensorBatch)=0
Output the ReID tensor of a batch.
Defines the interface for extracting and managing ReID features.
Information about the input source frames for the input frame batch.
virtual bool isRuntimeInitialized()=0
Report whether runtime resources are initialized.
virtual void removeStream(const NvMOTStreamId videoStreamId)=0
Remove a stream's reid features.
virtual bool isModelInitialized()=0
Report whether the inference model is initialized.
ReID tensor of the batch.
@ REASSOC
ReID features used for re-association.