NvDsPostProcessStatus parseEachFrame(const std::vector< NvDsInferLayerInfo > &outputLayers, NvDsPostProcessFrameOutput &result) override
Holds detection and bounding box grouping parameters.
Holds the cached information of an object.
bool(* NvDsPostProcessClassiferParseCustomFunc)(std::vector< NvDsInferLayerInfo > const &outputLayersInfo, NvDsInferNetworkInfo const &networkInfo, float classifierThreshold, std::vector< NvDsPostProcessAttribute > &attrList, std::string &descString)
NvDsPostProcessStatus
Enum for the status codes returned by NvDsPostProcessAlgorithm.
NvDsPostProcessStatus initResource(NvDsPostProcessContextInitParams &initParams) override
~ClassifyModelPostProcessor() override=default
Holds the initialization parameters required for the NvDsPostProcessContext interface.
ClassifyModelPostProcessor(int id, int gpuId=0)
Holds the information inferred by the network on one frame.
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 inference information/history for one object based on it's tracking id.
@ NvDsPostProcessNetworkType_Classifier
Specifies a classifier.
void mergeClassificationOutput(NvDsPostProcessObjectHistory &history, NvDsPostProcessObjectInfo &new_result)
Holds information on all attributes classifed by a classifier network for one frame.
void releaseFrameOutput(NvDsPostProcessFrameOutput &frameOutput) override