NVIDIA DeepStream SDK API Reference

9.2 Release
PoseEstimatorFactory Class Reference

Detailed Description

Singleton factory that constructs the configured implementation.

Definition at line 93 of file sources/libs/nvmultiobjecttracker/include/modules/PoseEstimator/PoseEstimator_factory.hpp.

Collaboration diagram for PoseEstimatorFactory:

Public Member Functions

std::shared_ptr< IPoseEstimator > makePoseEstimator (const std::string &configFilePath)
 Construct the configured pose-estimator implementation. More...
 
std::shared_ptr< IPoseEstimator > makePoseEstimator (const std::string &configFilePath)
 Construct the configured pose-estimator implementation. More...
 

Static Public Member Functions

static PoseEstimatorFactory & getInstance ()
 Get the singleton factory instance. More...
 
static PoseEstimatorFactory & getInstance ()
 Get the singleton factory instance. More...
 

Protected Attributes

PoseEstimatorFactoryParams m_params
 Config params. More...
 

Member Function Documentation

◆ getInstance() [1/2]

static PoseEstimatorFactory& PoseEstimatorFactory::getInstance ( )
inlinestatic

Get the singleton factory instance.

Definition at line 97 of file sources/libs/nvmultiobjecttracker/include/modules/PoseEstimator/PoseEstimator_factory.hpp.

◆ getInstance() [2/2]

static PoseEstimatorFactory& PoseEstimatorFactory::getInstance ( )
inlinestatic

Get the singleton factory instance.

Definition at line 97 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/PoseEstimator/PoseEstimator_factory.hpp.

◆ makePoseEstimator() [1/2]

std::shared_ptr<IPoseEstimator> PoseEstimatorFactory::makePoseEstimator ( const std::string &  configFilePath)
inline

Construct the configured pose-estimator implementation.

Parameters
[in]configFilePathPath to the tracker configuration file.
Returns
Shared pointer to the pose estimator, or null when pose estimation is disabled.

Parse the module config.

Definition at line 108 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/PoseEstimator/PoseEstimator_factory.hpp.

References DUMMY_POSE, m_params, PoseEstimatorFactoryParams::m_poseEstimatorType, POSE_INFERENCE, and POSE_TRACKER.

◆ makePoseEstimator() [2/2]

std::shared_ptr<IPoseEstimator> PoseEstimatorFactory::makePoseEstimator ( const std::string &  configFilePath)
inline

Construct the configured pose-estimator implementation.

Parameters
[in]configFilePathPath to the tracker configuration file.
Returns
Shared pointer to the pose estimator, or null when pose estimation is disabled.

Parse the module config.

Definition at line 108 of file sources/libs/nvmultiobjecttracker/include/modules/PoseEstimator/PoseEstimator_factory.hpp.

References DUMMY_POSE, m_params, PoseEstimatorFactoryParams::m_poseEstimatorType, POSE_INFERENCE, and POSE_TRACKER.

Field Documentation

◆ m_params

PoseEstimatorFactoryParams PoseEstimatorFactory::m_params
protected

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