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