NVIDIA DeepStream SDK API Reference
6.4 Release
gstnvinfer_meta_utils.h
Go to the documentation of this file.
1
12
#include "
gstnvinfer.h
"
13
#include "
gstnvinfer_impl.h
"
14
15
void
attach_metadata_detector
(
GstNvInfer
* nvinfer, GstMiniObject * tensor_out_object,
16
GstNvInferFrame
& frame,
NvDsInferDetectionOutput
& detection_output,
17
float
segmentationThreshold);
18
19
void
attach_metadata_classifier
(
GstNvInfer
* nvinfer, GstMiniObject * tensor_out_object,
20
GstNvInferFrame
& frame,
GstNvInferObjectInfo
& object_info);
21
22
void
merge_classification_output
(
GstNvInferObjectHistory
& history,
23
GstNvInferObjectInfo
&new_result);
24
25
void
attach_metadata_segmentation
(
GstNvInfer
* nvinfer, GstMiniObject * tensor_out_object,
26
GstNvInferFrame
& frame,
NvDsInferSegmentationOutput
& segmentation_output);
27
28
/* Attaches the raw tensor output to the GstBuffer as metadata. */
29
void
attach_tensor_output_meta
(
GstNvInfer
*nvinfer, GstMiniObject * tensor_out_object,
30
GstNvInferBatch
*batch,
NvDsInferContextBatchOutput
*batch_output);
attach_tensor_output_meta
void attach_tensor_output_meta(GstNvInfer *nvinfer, GstMiniObject *tensor_out_object, GstNvInferBatch *batch, NvDsInferContextBatchOutput *batch_output)
_GstNvInferObjectHistory
Holds the inference information/history for one object based on it's tracking id.
Definition:
gstnvinfer.h:140
GstNvInfer
typedefG_BEGIN_DECLS struct _GstNvInfer GstNvInfer
Definition:
gstnvinfer.h:44
NvDsInferSegmentationOutput
Holds the information parsed from segmentation network output for one frame.
Definition:
infer_post_datatypes.h:80
gstnvinfer.h
attach_metadata_segmentation
void attach_metadata_segmentation(GstNvInfer *nvinfer, GstMiniObject *tensor_out_object, GstNvInferFrame &frame, NvDsInferSegmentationOutput &segmentation_output)
attach_metadata_detector
void attach_metadata_detector(GstNvInfer *nvinfer, GstMiniObject *tensor_out_object, GstNvInferFrame &frame, NvDsInferDetectionOutput &detection_output, float segmentationThreshold)
Copyright (c) 2018-2020, NVIDIA CORPORATION.
NvDsInferDetectionOutput
Holds the information on all objects detected by a detector network in one frame.
Definition:
infer_post_datatypes.h:48
GstNvInferBatch
Holds information about the batch of frames to be inferred.
Definition:
gstnvinfer_impl.h:93
merge_classification_output
void merge_classification_output(GstNvInferObjectHistory &history, GstNvInferObjectInfo &new_result)
NvDsInferContextBatchOutput
Holds the output for all of the frames in a batch (an array of frame), and related buffer information...
Definition:
nvdsinfer_context.h:599
GstNvInferFrame
Holds info about one frame in a batch for inferencing.
Definition:
gstnvinfer_impl.h:50
GstNvInferObjectInfo
Holds the cached information of an object.
Definition:
gstnvinfer.h:120
attach_metadata_classifier
void attach_metadata_classifier(GstNvInfer *nvinfer, GstMiniObject *tensor_out_object, GstNvInferFrame &frame, GstNvInferObjectInfo &object_info)
gstnvinfer_impl.h
Advance Information | Subject to Change | Generated by NVIDIA | Mon Dec 11 2023 17:51:24 | PR-09318-R32