NVIDIA DeepStream SDK API Reference

7.0 Release
gstnvinfer_meta_utils.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2020 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #include "gstnvinfer.h"
14 #include "gstnvinfer_impl.h"
15 
16 void attach_metadata_detector (GstNvInfer * nvinfer, GstMiniObject * tensor_out_object,
17  GstNvInferFrame & frame, NvDsInferDetectionOutput & detection_output,
18  float segmentationThreshold);
19 
20 void attach_metadata_classifier (GstNvInfer * nvinfer, GstMiniObject * tensor_out_object,
21  GstNvInferFrame & frame, GstNvInferObjectInfo & object_info);
22 
24  GstNvInferObjectInfo &new_result);
25 
26 void attach_metadata_segmentation (GstNvInfer * nvinfer, GstMiniObject * tensor_out_object,
27  GstNvInferFrame & frame, NvDsInferSegmentationOutput & segmentation_output);
28 
29 /* Attaches the raw tensor output to the GstBuffer as metadata. */
30 void attach_tensor_output_meta (GstNvInfer *nvinfer, GstMiniObject * tensor_out_object,
31  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:141
GstNvInfer
typedefG_BEGIN_DECLS struct _GstNvInfer GstNvInfer
Definition: gstnvinfer.h:45
NvDsInferSegmentationOutput
Holds the information parsed from segmentation network output for one frame.
Definition: infer_post_datatypes.h:75
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)
NvDsInferDetectionOutput
Holds the information on all objects detected by a detector network in one frame.
Definition: infer_post_datatypes.h:43
GstNvInferBatch
Holds information about the batch of frames to be inferred.
Definition: gstnvinfer_impl.h:94
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:605
GstNvInferFrame
Holds info about one frame in a batch for inferencing.
Definition: gstnvinfer_impl.h:51
GstNvInferObjectInfo
Holds the cached information of an object.
Definition: gstnvinfer.h:121
attach_metadata_classifier
void attach_metadata_classifier(GstNvInfer *nvinfer, GstMiniObject *tensor_out_object, GstNvInferFrame &frame, GstNvInferObjectInfo &object_info)
gstnvinfer_impl.h