NVIDIA DeepStream SDK API Reference

9.2 Release
VisualTrackerFactory Class Reference

Detailed Description

Create a concrete visual tracker from the configuration.

Definition at line 96 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.

Collaboration diagram for VisualTrackerFactory:

Public Member Functions

std::shared_ptr< IVisualTracker > makeVisualTracker (const std::string configFilePath)
 Create the visual tracker selected by a configuration file. More...
 
std::shared_ptr< IVisualTracker > makeVisualTracker (const std::string configFilePath)
 Create the visual tracker selected by a configuration file. More...
 

Static Public Member Functions

static VisualTrackerFactory & getInstance ()
 Return the process-wide visual tracker factory instance. More...
 
static VisualTrackerFactory & getInstance ()
 Return the process-wide visual tracker factory instance. More...
 

Protected Attributes

VisualTrackerFactoryParams m_params
 Config params for visual tracker module. More...
 

Member Function Documentation

◆ getInstance() [1/2]

static VisualTrackerFactory& VisualTrackerFactory::getInstance ( )
inlinestatic

Return the process-wide visual tracker factory instance.

Definition at line 100 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.

◆ getInstance() [2/2]

static VisualTrackerFactory& VisualTrackerFactory::getInstance ( )
inlinestatic

Return the process-wide visual tracker factory instance.

Definition at line 100 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.

◆ makeVisualTracker() [1/2]

std::shared_ptr<IVisualTracker> VisualTrackerFactory::makeVisualTracker ( const std::string  configFilePath)
inline

Create the visual tracker selected by a configuration file.

Parameters
[in]configFilePathThe path to the configuration file.
Returns
The configured visual tracker instance.

Parse the visual tracker configuration.

Definition at line 111 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.

References DUMMY_VOT, m_params, VisualTrackerFactoryParams::m_visualTrackerType, NvDCF_VOT, and NvDCF_VPI_VOT.

◆ makeVisualTracker() [2/2]

std::shared_ptr<IVisualTracker> VisualTrackerFactory::makeVisualTracker ( const std::string  configFilePath)
inline

Create the visual tracker selected by a configuration file.

Parameters
[in]configFilePathThe path to the configuration file.
Returns
The configured visual tracker instance.

Parse the visual tracker configuration.

Definition at line 111 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.

References DUMMY_VOT, m_params, VisualTrackerFactoryParams::m_visualTrackerType, NvDCF_VOT, and NvDCF_VPI_VOT.

Field Documentation

◆ m_params

VisualTrackerFactoryParams VisualTrackerFactory::m_params
protected

Config params for visual tracker module.

Definition at line 145 of file sources/libs/nvmultiobjecttracker/include/modules/VisualTracker/VisualTracker_factory.hpp.

Referenced by makeVisualTracker().


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