nvinferserver metadata utilities header file.
This file contains the declarations of the metadata utility functions that add the inference output to the metadata of the input batch.
Definition in file gstnvinferserver_meta_utils.h.
Go to the source code of this file.
Namespaces | |
gstnvinferserver | |
Functions | |
void | gstnvinferserver::attachDetectionMetadata (NvDsFrameMeta *frameMeta, NvDsObjectMeta *parentObj, const NvDsInferDetectionOutput &detection_output, float scaleX, float scaleY, uint32_t offsetLeft, uint32_t offsetTop, uint32_t roiLeft, uint32_t roiTop, uint32_t roiWidth, uint32_t roiHeight, uint32_t imageWidth, uint32_t imageHeight, uint32_t uniqueId, const ic::PluginControl &config) |
Attach detection metadata for the objects in a frame. More... | |
void | gstnvinferserver::attachClassificationMetadata (NvDsObjectMeta *objMeta, NvDsFrameMeta *frameMeta, NvDsRoiMeta *roiMeta, const InferClassificationOutput &objInfo, uint32_t uniqueId, const std::string &classifierType, uint32_t imageWidth, uint32_t imageHeight) |
Attach the classification output as NvDsClassifierMeta. More... | |
void | gstnvinferserver::mergeClassificationOutput (InferClassificationOutput &cache, const InferClassificationOutput &newRes) |
Merge the object history with the new classification result. More... | |
void | gstnvinferserver::attachSegmentationMetadata (NvDsObjectMeta *objMeta, NvDsFrameMeta *frameMeta, NvDsRoiMeta *roiMeta, const NvDsInferSegmentationOutput &segmentation_output, dsis::SharedIBatchBuffer &buf) |
Attach the segmentation output as user metadata. More... | |
void | gstnvinferserver::attachTensorOutputMeta (NvDsObjectMeta *objMeta, NvDsFrameMeta *frameMeta, NvDsRoiMeta *roiMeta, uint32_t uniqueId, const std::vector< dsis::SharedIBatchBuffer > &tensors, uint32_t batchIdx, const NvDsInferNetworkInfo &inputInfo, bool maintainAspectRatio) |
Attaches the raw tensor output to the GstBuffer as metadata. More... | |
void | gstnvinferserver::attachFullTensorOutputMeta (NvDsBatchMeta *batchMeta, uint32_t uniqueId, const std::vector< dsis::SharedIBatchBuffer > &tensors, const NvDsInferNetworkInfo &inputInfo) |
Attach the full inference output tensors to the batch metadata. More... | |