|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef SEGMENTERLIB_ISEGMENTER_HPP_
19 #define SEGMENTERLIB_ISEGMENTER_HPP_
23 #include "modules/NvMultiObjectTracker/NvMultiObjectTracker_common.hpp"
24 #include "modules/NvMultiObjectTracker/NvTrackedObject.hpp"
49 const std::shared_ptr<NvTrackedObjectManager> &targetManager
62 virtual void localize(
const std::map<NvMOTStreamId, NvMOTFrame *>& inputMeta) = 0;
68 virtual void update(
const std::map<NvMOTStreamId, NvMOTFrame *>& inputMeta) = 0;
90 #endif // SEGMENTERLIB_ISEGMENTER_HPP_
virtual void outputMaskObj(const std::shared_ptr< NvTrackedObject > target, NvMOTMask &mask)=0
Output segmentation mask of a target.
@ NanoSAM
NanoSAM segmenter.
virtual void localize(const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta)=0
Localize and segment target in a new frame.
virtual void update(const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta)=0
Update Segmenter after data association.
@ DUMMY_SEGMENTER
Segmenter that performs no segmentation.
virtual bool isInitialized()=0
Report whether the module is initialized.
virtual const SEGMENTER_TYPES getSegmenterType()=0
Get the configured segmenter type.
virtual void removeStream(const NvMOTStreamId videoStreamId)=0
Remove a stream's Segmenter features.
Holds the capabilities and requirements reported by the tracker library.
@ EfficientVitSAM
EfficientViT-SAM segmenter.
virtual void queryParams(NvMOTQuery ¶msQuery)=0
Populate the capabilities reported to the tracker.
virtual void initialize(const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager)=0
Initialize variables and allocate memories.
Defines the interface for target segmentation modules.
Information about the input source frames for the input frame batch.
Holds the segmentaiton mask of an object.
virtual ~ISegmenter()
Release resources owned by the ISegmenter instance.