Definition at line 47 of file postprocesslib_impl.h.
Public Member Functions | |
PostProcessAlgorithm (DSPostProcess_CreateParams *createParams) | |
virtual bool | HandleEvent (GstEvent *event) |
virtual bool | SetConfigFile (const gchar *config_file) |
virtual BufferResult | ProcessBuffer (GstBuffer *inbuf) |
std::vector< std::string > | SplitString (std::string input) |
std::set< gint > | SplitStringInt (std::string input) |
bool | GetAbsFilePath (const gchar *cfg_file_path, const gchar *file_path, char *abs_path_str) |
~PostProcessAlgorithm () | |
Data Fields | |
gboolean | hw_caps |
guint | source_id = 0 |
guint | m_frameNum = 0 |
bool | outputthread_stopped = false |
std::thread * | m_outputThread = NULL |
std::queue< PacketInfo > | m_processQ |
std::mutex | m_processLock |
std::condition_variable | m_processCV |
gboolean | m_stop = FALSE |
std::vector< Property > | m_vectorProperty |
GstBaseTransform * | m_element |
guint | m_gpuId |
GPU ID on which we expect to execute the algorithm. More... | |
cudaStream_t | m_cudaStream |
|
inlineexplicit |
Holds the number of classes detected by a detector network.
Holds per-class detection parameters. The array's size must be equal to numDetectedClasses.
Holds the minimum confidence threshold for the classifier to consider a label valid.
Holds a pointer to an array of pointers to output layer names.
Holds the number of output layer names.
Holds the ID of the GPU which is to run the inference.
Holds the type of clustering mode
Definition at line 51 of file postprocesslib_impl.h.
References _NvDsPostProcessContextInitParams::classifier_type, _NvDsPostProcessContextInitParams::classifierThreshold, _NvDsPostProcessContextInitParams::clusterMode, _NvDsPostProcessContextInitParams::customBBoxInstanceMaskParseFuncName, _NvDsPostProcessContextInitParams::customBBoxParseFuncName, _NvDsPostProcessContextInitParams::customClassifierParseFuncName, _NvDsPostProcessContextInitParams::gpuID, _NvDsPostProcessContextInitParams::inferInputDims, _NvDsPostProcessContextInitParams::labelsFilePath, DSPostProcess_CreateParams::m_cudaStream, DSPostProcessLibraryBase::m_cudaStream, DSPostProcess_CreateParams::m_element, DSPostProcessLibraryBase::m_element, DSPostProcess_CreateParams::m_gpuId, DSPostProcessLibraryBase::m_gpuId, m_outputThread, m_vectorProperty, _NvDsPostProcessContextInitParams::maxBatchSize, _NvDsPostProcessContextInitParams::networkType, _NvDsPostProcessContextInitParams::numDetectedClasses, _NvDsPostProcessContextInitParams::numOutputLayers, NVDSPOSTPROCESS_CLUSTER_NMS, NvDsPostProcessNetworkType_Other, _NvDsPostProcessContextInitParams::outputLayerNames, outputthread_stopped, _NvDsPostProcessContextInitParams::perClassDetectionParams, _NvDsPostProcessContextInitParams::segmentationThreshold, and _NvDsPostProcessContextInitParams::uniqueID.
PostProcessAlgorithm::~PostProcessAlgorithm | ( | ) |
bool PostProcessAlgorithm::GetAbsFilePath | ( | const gchar * | cfg_file_path, |
const gchar * | file_path, | ||
char * | abs_path_str | ||
) |
|
virtual |
Implements DSPostProcessLibraryBase.
|
virtual |
Implements DSPostProcessLibraryBase.
|
virtual |
Implements DSPostProcessLibraryBase.
std::vector<std::string> PostProcessAlgorithm::SplitString | ( | std::string | input | ) |
std::set<gint> PostProcessAlgorithm::SplitStringInt | ( | std::string | input | ) |
gboolean PostProcessAlgorithm::hw_caps |
Definition at line 124 of file postprocesslib_impl.h.
|
inherited |
Definition at line 55 of file nvdspostprocesslib_base.hpp.
Referenced by DSPostProcessLibraryBase::DSPostProcessLibraryBase(), and PostProcessAlgorithm().
|
inherited |
Definition at line 50 of file nvdspostprocesslib_base.hpp.
Referenced by DSPostProcessLibraryBase::DSPostProcessLibraryBase(), and PostProcessAlgorithm().
guint PostProcessAlgorithm::m_frameNum = 0 |
Definition at line 168 of file postprocesslib_impl.h.
|
inherited |
GPU ID on which we expect to execute the algorithm.
Definition at line 53 of file nvdspostprocesslib_base.hpp.
Referenced by DSPostProcessLibraryBase::DSPostProcessLibraryBase(), and PostProcessAlgorithm().
std::thread* PostProcessAlgorithm::m_outputThread = NULL |
Definition at line 172 of file postprocesslib_impl.h.
Referenced by PostProcessAlgorithm().
std::condition_variable PostProcessAlgorithm::m_processCV |
Definition at line 177 of file postprocesslib_impl.h.
std::mutex PostProcessAlgorithm::m_processLock |
Definition at line 176 of file postprocesslib_impl.h.
std::queue<PacketInfo> PostProcessAlgorithm::m_processQ |
Definition at line 175 of file postprocesslib_impl.h.
gboolean PostProcessAlgorithm::m_stop = FALSE |
Definition at line 179 of file postprocesslib_impl.h.
std::vector<Property> PostProcessAlgorithm::m_vectorProperty |
Definition at line 182 of file postprocesslib_impl.h.
Referenced by PostProcessAlgorithm().
bool PostProcessAlgorithm::outputthread_stopped = false |
Definition at line 169 of file postprocesslib_impl.h.
Referenced by PostProcessAlgorithm().
guint PostProcessAlgorithm::source_id = 0 |
Definition at line 167 of file postprocesslib_impl.h.