|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef VISUALTRACKERLIB_IVISUALTRACKER_HPP_
19 #define VISUALTRACKERLIB_IVISUALTRACKER_HPP_
23 #include "modules/NvMultiObjectTracker/NvMultiObjectTracker_common.hpp"
24 #include "modules/NvMultiObjectTracker/NvTrackedObject.hpp"
50 const uint maxTargetsPerStream,
const std::shared_ptr<NvTrackedObjectManager> &targetManager
65 const std::map<NvMOTStreamId, NvMOTFrame *> inputMeta,
66 const std::map<
NvMOTStreamId, std::deque<DetectedObjInfo>> &detectedObjects
73 virtual void update(
const std::map<NvMOTStreamId, NvMOTFrame *> inputMeta) = 0;
88 #endif // VISUALTRACKERLIB_IVISUALTRACKER_HPP_
Defines the interface implemented by visual trackers.
virtual bool isInitialized()=0
Report whether tracker initialization completed.
virtual const VISUAL_TRACKER_TYPES getVisualTrackerType()=0
Return the configured visual tracker type.
VISUAL_TRACKER_TYPES
Visual tracker implementations that can be selected by configuration.
@ DUMMY_VOT
Selects the dummy visual tracker.
virtual void localize(const std::map< NvMOTStreamId, NvMOTFrame * > inputMeta, const std::map< NvMOTStreamId, std::deque< DetectedObjInfo >> &detectedObjects)=0
Localize tracked targets and evaluate nearby detections across an input batch.
@ NvDCF_VOT
Selects the NvDCF visual tracker.
virtual ~IVisualTracker()
Destroy the visual tracker interface.
virtual void initialize(const SourceFrameInfo &frameInfo, const uint maxTargetsToTrack, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager)=0
Initialize variables and allocate memories.
virtual void queryParams(NvMOTQuery ¶msQuery)=0
Populate the visual tracker's capability query.
Holds the capabilities and requirements reported by the tracker library.
virtual void update(const std::map< NvMOTStreamId, NvMOTFrame * > inputMeta)=0
Update each target's visual model from an input batch.
@ NvDCF_VPI_VOT
Selects the VPI-based NvDCF visual tracker.
Information about the input source frames for the input frame batch.
virtual void updateParams(const YAML::Node &fn)=0
Update runtime-configurable visual tracker parameters.