Singleton factory that constructs the configured implementation.
Definition at line 94 of file sources/libs/nvmultiobjecttracker/include/modules/Segmenter/Segmenter_factory.hpp.

Public Member Functions | |
| std::shared_ptr< ISegmenter > | makeSegmenter (const std::string &configFilePath) |
| Construct the configured segmenter implementation. More... | |
| std::shared_ptr< ISegmenter > | makeSegmenter (const std::string &configFilePath) |
| Construct the configured segmenter implementation. More... | |
Static Public Member Functions | |
| static SegmenterFactory & | getInstance () |
| Get the singleton factory instance. More... | |
| static SegmenterFactory & | getInstance () |
| Get the singleton factory instance. More... | |
Protected Attributes | |
| SegmenterFactoryParams | m_params |
| Config params. More... | |
|
inlinestatic |
Get the singleton factory instance.
Definition at line 98 of file sources/libs/nvmultiobjecttracker/include/modules/Segmenter/Segmenter_factory.hpp.
|
inlinestatic |
Get the singleton factory instance.
Definition at line 98 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Segmenter/Segmenter_factory.hpp.
|
inline |
Construct the configured segmenter implementation.
| [in] | configFilePath | Path to the tracker configuration file. |
Parse the module config.
Definition at line 109 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Segmenter/Segmenter_factory.hpp.
References DUMMY_SEGMENTER, EfficientVitSAM, m_params, SegmenterFactoryParams::m_segmenterType, NanoSAM, and SAM2.
|
inline |
Construct the configured segmenter implementation.
| [in] | configFilePath | Path to the tracker configuration file. |
Parse the module config.
Definition at line 109 of file sources/libs/nvmultiobjecttracker/include/modules/Segmenter/Segmenter_factory.hpp.
References DUMMY_SEGMENTER, EfficientVitSAM, m_params, SegmenterFactoryParams::m_segmenterType, NanoSAM, and SAM2.
|
protected |
Config params.
Definition at line 140 of file sources/libs/nvmultiobjecttracker/include/modules/Segmenter/Segmenter_factory.hpp.
Referenced by makeSegmenter().