Definition at line 37 of file post_processor_classify.h.
|
| ClassifyModelPostProcessor (int id, int gpuId=0) |
|
| ~ClassifyModelPostProcessor () override=default |
|
NvDsPostProcessStatus | initResource (NvDsPostProcessContextInitParams &initParams) override |
|
NvDsPostProcessStatus | parseEachFrame (const std::vector< NvDsInferLayerInfo > &outputLayers, NvDsPostProcessFrameOutput &result) override |
|
void | attachMetadata (NvBufSurface *surf, gint batch_idx, NvDsBatchMeta *batch_meta, NvDsFrameMeta *frame_meta, NvDsObjectMeta *object_meta, NvDsObjectMeta *parent_obj_meta, NvDsPostProcessFrameOutput &detection_output, NvDsPostProcessDetectionParams *all_params, std::set< gint > &filterOutClassIds, int32_t unique_id, gboolean output_instance_mask, gboolean process_full_frame, float segmentationThreshold, gboolean maintain_aspect_ratio) override |
|
void | mergeClassificationOutput (NvDsPostProcessObjectHistory &history, NvDsPostProcessObjectInfo &new_result) |
|
void | releaseFrameOutput (NvDsPostProcessFrameOutput &frameOutput) override |
|
const std::vector< std::vector< std::string > > & | getLabels () const |
|
void | freeBatchOutput (NvDsPostProcessBatchOutput &batchOutput) |
|
void | setNetworkInfo (NvDsInferNetworkInfo networkInfo) |
|
◆ ClassifyModelPostProcessor()
ClassifyModelPostProcessor::ClassifyModelPostProcessor |
( |
int |
id, |
|
|
int |
gpuId = 0 |
|
) |
| |
|
inline |
◆ ~ClassifyModelPostProcessor()
ClassifyModelPostProcessor::~ClassifyModelPostProcessor |
( |
| ) |
|
|
overridedefault |
◆ attachMetadata()
void ClassifyModelPostProcessor::attachMetadata |
( |
NvBufSurface * |
surf, |
|
|
gint |
batch_idx, |
|
|
NvDsBatchMeta * |
batch_meta, |
|
|
NvDsFrameMeta * |
frame_meta, |
|
|
NvDsObjectMeta * |
object_meta, |
|
|
NvDsObjectMeta * |
parent_obj_meta, |
|
|
NvDsPostProcessFrameOutput & |
detection_output, |
|
|
NvDsPostProcessDetectionParams * |
all_params, |
|
|
std::set< gint > & |
filterOutClassIds, |
|
|
int32_t |
unique_id, |
|
|
gboolean |
output_instance_mask, |
|
|
gboolean |
process_full_frame, |
|
|
float |
segmentationThreshold, |
|
|
gboolean |
maintain_aspect_ratio |
|
) |
| |
|
overridevirtual |
◆ freeBatchOutput()
◆ getLabels()
const std::vector<std::vector<std::string> >& ModelPostProcessor::getLabels |
( |
| ) |
const |
|
inlineinherited |
◆ initResource()
◆ mergeClassificationOutput()
◆ parseEachFrame()
◆ parseLabelsFile()
◆ releaseFrameOutput()
◆ setNetworkInfo()
◆ m_AllLayerInfo
◆ m_GpuID
uint32_t ModelPostProcessor::m_GpuID = 0 |
|
protectedinherited |
◆ m_Labels
std::vector<std::vector<std::string> > ModelPostProcessor::m_Labels |
|
protectedinherited |
◆ m_NetworkInfo
◆ m_NetworkType
◆ m_OutputLayerInfo
◆ m_UniqueID
int ModelPostProcessor::m_UniqueID = 0 |
|
protectedinherited |
The documentation for this class was generated from the following file: