SegmentationModelPostProcessor(int id, int gpuId=0)
Holds detection and bounding box grouping parameters.
NvDsPostProcessStatus
Enum for the status codes returned by NvDsPostProcessAlgorithm.
@ NvDsPostProcessTensorOrder_kNCHW
NvDsPostProcessStatus initResource(NvDsPostProcessContextInitParams &initParams) override
Holds the initialization parameters required for the NvDsPostProcessContext interface.
Holds the information inferred by the network on one frame.
@ NvDsPostProcessNetworkType_Segmentation
Specifies a segmentation network.
Holds information parsed from segmentation network output for one frame.
NvDsPostProcessStatus parseEachFrame(const std::vector< NvDsInferLayerInfo > &outputLayers, NvDsPostProcessFrameOutput &result) override
NvDsPostProcessTensorOrder
Defines UFF layer orders.
void releaseFrameOutput(NvDsPostProcessFrameOutput &frameOutput) override
~SegmentationModelPostProcessor() override=default
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