NVIDIA DeepStream SDK API Reference

9.2 Release
DummyReIDService Class Reference

Detailed Description

Provides a no-op remote ReID service implementation.

Definition at line 26 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

Inheritance diagram for DummyReIDService:
Collaboration diagram for DummyReIDService:

Public Member Functions

 DummyReIDService (const std::string &configFilePath)
 Construct a DummyReIDService instance from configuration. More...
 
virtual ~DummyReIDService ()
 Release resources owned by the DummyReIDService instance. More...
 
void initialize (const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager) override
 Initialize variables and allocate memories. More...
 
void queryParams (NvMOTQuery &paramsQuery)
 Populate the capabilities reported to the tracker. More...
 
void query (const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta)
 Send query to reid service for all unmatched active objects. More...
 
void updateTargetIDs ()
 Update target ID using remoteTargetID from reid service. More...
 
const REID_SERVICE_TYPES getReIDServiceType () override
 Get the configured ReID-service implementation type. More...
 
 DummyReIDService (const std::string &configFilePath)
 Construct a DummyReIDService instance from configuration. More...
 
virtual ~DummyReIDService ()
 Release resources owned by the DummyReIDService instance. More...
 
void initialize (const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager) override
 Initialize variables and allocate memories. More...
 
void queryParams (NvMOTQuery &paramsQuery)
 Populate the capabilities reported to the tracker. More...
 
void query (const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta)
 Send query to reid service for all unmatched active objects. More...
 
void updateTargetIDs ()
 Update target ID using remoteTargetID from reid service. More...
 
const REID_SERVICE_TYPES getReIDServiceType () override
 Get the configured ReID-service implementation type. More...
 

Protected Attributes

bool m_isInit
 Reid status if runtime variables initialized. More...
 

Constructor & Destructor Documentation

◆ DummyReIDService() [1/2]

DummyReIDService::DummyReIDService ( const std::string &  configFilePath)
inline

Construct a DummyReIDService instance from configuration.

Parameters
[in]configFilePathPath to the tracker configuration file.

Definition at line 33 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

References m_isInit.

◆ ~DummyReIDService() [1/2]

virtual DummyReIDService::~DummyReIDService ( )
inlinevirtual

Release resources owned by the DummyReIDService instance.

Definition at line 39 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

◆ DummyReIDService() [2/2]

DummyReIDService::DummyReIDService ( const std::string &  configFilePath)
inline

Construct a DummyReIDService instance from configuration.

Parameters
[in]configFilePathPath to the tracker configuration file.

Definition at line 33 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

References m_isInit.

◆ ~DummyReIDService() [2/2]

virtual DummyReIDService::~DummyReIDService ( )
inlinevirtual

Release resources owned by the DummyReIDService instance.

Definition at line 39 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

Member Function Documentation

◆ getReIDServiceType() [1/2]

const REID_SERVICE_TYPES DummyReIDService::getReIDServiceType ( )
inlineoverridevirtual

Get the configured ReID-service implementation type.

Implements IReIDService.

Definition at line 71 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

References DUMMY_REID_SERVICE.

◆ getReIDServiceType() [2/2]

const REID_SERVICE_TYPES DummyReIDService::getReIDServiceType ( )
inlineoverridevirtual

Get the configured ReID-service implementation type.

Implements IReIDService.

Definition at line 71 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

References DUMMY_REID_SERVICE.

◆ initialize() [1/2]

void DummyReIDService::initialize ( const SourceFrameInfo &  frameInfo,
const uint  maxTargetsPerStream,
const std::shared_ptr< NvTrackedObjectManager > &  targetManager 
)
inlineoverridevirtual

Initialize variables and allocate memories.

Parameters
[in]frameInfoMetadata about the source image, such as size and color.
[in]maxTargetsPerStreamMaximum number of targets to track in each stream.
[in]targetManagerTarget manager of the tracked objects.

Implements IReIDService.

Definition at line 47 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

References m_isInit.

◆ initialize() [2/2]

void DummyReIDService::initialize ( const SourceFrameInfo &  frameInfo,
const uint  maxTargetsPerStream,
const std::shared_ptr< NvTrackedObjectManager > &  targetManager 
)
inlineoverridevirtual

Initialize variables and allocate memories.

Parameters
[in]frameInfoMetadata about the source image, such as size and color.
[in]maxTargetsPerStreamMaximum number of targets to track in each stream.
[in]targetManagerTarget manager of the tracked objects.

Implements IReIDService.

Definition at line 47 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

References m_isInit.

◆ query() [1/2]

void DummyReIDService::query ( const std::map< NvMOTStreamId, NvMOTFrame * > &  inputMeta)
inlinevirtual

Send query to reid service for all unmatched active objects.

Parameters
[in]inputMetaInput frames keyed by stream ID.

Implements IReIDService.

Definition at line 65 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

◆ query() [2/2]

void DummyReIDService::query ( const std::map< NvMOTStreamId, NvMOTFrame * > &  inputMeta)
inlinevirtual

Send query to reid service for all unmatched active objects.

Parameters
[in]inputMetaInput frames keyed by stream ID.

Implements IReIDService.

Definition at line 65 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

◆ queryParams() [1/2]

void DummyReIDService::queryParams ( NvMOTQuery &  paramsQuery)
inlinevirtual

Populate the capabilities reported to the tracker.

Parameters
[out]paramsQueryThe output query parameters.

Implements IReIDService.

Definition at line 59 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

◆ queryParams() [2/2]

void DummyReIDService::queryParams ( NvMOTQuery &  paramsQuery)
inlinevirtual

Populate the capabilities reported to the tracker.

Parameters
[out]paramsQueryThe output query parameters.

Implements IReIDService.

Definition at line 59 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

◆ updateTargetIDs() [1/2]

void DummyReIDService::updateTargetIDs ( )
inlinevirtual

Update target ID using remoteTargetID from reid service.

Implements IReIDService.

Definition at line 68 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

◆ updateTargetIDs() [2/2]

void DummyReIDService::updateTargetIDs ( )
inlinevirtual

Update target ID using remoteTargetID from reid service.

Implements IReIDService.

Definition at line 68 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

Field Documentation

◆ m_isInit

bool DummyReIDService::m_isInit
protected

Reid status if runtime variables initialized.

Definition at line 74 of file sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp.

Referenced by DummyReIDService(), and initialize().


The documentation for this class was generated from the following file: