NvDsPostProcessStatus parseEachFrame(const std::vector< NvDsInferLayerInfo > &outputLayers, NvDsPostProcessFrameOutput &result) override
NvDsPostProcessStatus initResource(NvDsPostProcessContextInitParams &initParams) override
Holds detection and bounding box grouping parameters.
Holds information on all objects detected by a detector network in one frame.
NvDsPostProcessStatus
Enum for the status codes returned by NvDsPostProcessAlgorithm.
~InstanceSegmentModelPostProcessor() override=default
NvDsPostProcessClusterMode
Enum for clustering mode for detectors.
Holds the initialization parameters required for the NvDsPostProcessContext interface.
Holds the information inferred by the network on one frame.
bool(* NvDsPostProcessInstanceMaskParseCustomFunc)(std::vector< NvDsInferLayerInfo > const &outputLayersInfo, NvDsInferNetworkInfo const &networkInfo, NvDsPostProcessParseDetectionParams const &detectionParams, std::vector< NvDsPostProcessInstanceMaskInfo > &objectList)
Type definition for the custom bounding box and instance mask parsing function.
InstanceSegmentModelPostProcessor(int id, int gpuId=0)
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 releaseFrameOutput(NvDsPostProcessFrameOutput &frameOutput) override
Holds the detection parameters required for parsing objects.
@ NvDsPostProcessNetworkType_InstanceSegmentation
Specifies a instance segmentation network.