NVIDIA DeepStream SDK API Reference

6.4 Release
deepstream_gie.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20  * DEALINGS IN THE SOFTWARE.
21  */
22 
23 #ifndef __NVGSTDS_GIE_H__
24 #define __NVGSTDS_GIE_H__
25 
26 #include <gst/gst.h>
27 
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #endif
32 
33 #include "gstnvdsmeta.h"
34 #include "gstnvdsinfer.h"
35 #include "deepstream_config.h"
36 
37 typedef enum
38 {
42 
43 typedef struct
44 {
45  gboolean enable;
46 
48 
50 
51  gboolean override_colors;
52 
56 
59 
60  gboolean have_bg_color;
63 
65  GHashTable *bbox_bg_color_table;
66 
67  guint batch_size;
69 
70  guint interval;
71  gboolean is_interval_set;
72  guint unique_id;
73  gboolean is_unique_id_set;
74  guint gpu_id;
75  gboolean is_gpu_id_set;
78 
80  guint frame_size;
82  guint hop_size;
83  gboolean is_hop_size_set;
85 
87  guint n_labels;
89  gchar ***labels;
90 
93 
94  gchar *tag;
95 
98 
99 #ifdef __cplusplus
100 }
101 #endif
102 
103 #endif
NV_DS_GIE_PLUGIN_INFER_SERVER
@ NV_DS_GIE_PLUGIN_INFER_SERVER
Definition: deepstream_gie.h:40
NvDsGiePluginType
NvDsGiePluginType
Definition: deepstream_gie.h:37
NvDsGieConfig::plugin_type
NvDsGiePluginType plugin_type
Definition: deepstream_gie.h:96
NvDsGieConfig::have_bg_color
gboolean have_bg_color
Definition: deepstream_gie.h:60
NvDsGieConfig::is_interval_set
gboolean is_interval_set
Definition: deepstream_gie.h:71
NvDsGieConfig::bbox_bg_color_table
GHashTable * bbox_bg_color_table
Definition: deepstream_gie.h:65
NvDsGieConfig::audio_transform
gchar * audio_transform
Definition: deepstream_gie.h:79
NvDsGieConfig::label_file_path
gchar * label_file_path
Definition: deepstream_gie.h:86
NvDsGieConfig::hop_size
guint hop_size
Definition: deepstream_gie.h:82
NvDsGieConfig::n_label_outputs
guint * n_label_outputs
Definition: deepstream_gie.h:88
NvDsGieConfig::is_batch_size_set
gboolean is_batch_size_set
Definition: deepstream_gie.h:68
NvDsGieConfig::is_frame_size_set
gboolean is_frame_size_set
Definition: deepstream_gie.h:81
NvDsGieConfig::frame_size
guint frame_size
Definition: deepstream_gie.h:80
gstnvdsinfer.h
NvDsGieConfig::unique_id
guint unique_id
Definition: deepstream_gie.h:72
NvDsGieConfig::labels
gchar *** labels
Definition: deepstream_gie.h:89
NvDsGieConfig::operate_on_gie_id
gint operate_on_gie_id
Definition: deepstream_gie.h:53
NvDsGieConfig::is_operate_on_gie_id_set
gboolean is_operate_on_gie_id_set
Definition: deepstream_gie.h:54
NvDsGieConfig::bbox_bg_color
NvOSD_ColorParams bbox_bg_color
Definition: deepstream_gie.h:61
deepstream_config.h
NvDsGieConfig::raw_output_directory
gchar * raw_output_directory
Definition: deepstream_gie.h:91
NvDsGieConfig::operate_on_classes
gint operate_on_classes
Definition: deepstream_gie.h:55
NvDsGieConfig::override_colors
gboolean override_colors
Definition: deepstream_gie.h:51
NvDsGieConfig::is_hop_size_set
gboolean is_hop_size_set
Definition: deepstream_gie.h:83
gstnvdsmeta.h
NvDsGieConfig::is_unique_id_set
gboolean is_unique_id_set
Definition: deepstream_gie.h:73
NvDsGieConfig::is_gpu_id_set
gboolean is_gpu_id_set
Definition: deepstream_gie.h:75
NvDsGieConfig::input_audio_rate
guint input_audio_rate
Definition: deepstream_gie.h:84
NvDsGieConfig::n_labels
guint n_labels
Definition: deepstream_gie.h:87
NvDsGieConfig::bbox_border_color_table
GHashTable * bbox_border_color_table
Definition: deepstream_gie.h:64
NvDsGieConfig::num_operate_on_class_ids
gint num_operate_on_class_ids
Definition: deepstream_gie.h:57
NvDsGieConfig::file_write_frame_num
gulong file_write_frame_num
Definition: deepstream_gie.h:92
NvDsGieConfig::batch_size
guint batch_size
Definition: deepstream_gie.h:67
NvDsGieConfig::tag
gchar * tag
Definition: deepstream_gie.h:94
NvDsGieConfig::nvbuf_memory_type
guint nvbuf_memory_type
Definition: deepstream_gie.h:76
NvDsGieConfig::model_engine_file_path
gchar * model_engine_file_path
Definition: deepstream_gie.h:77
NvDsGieConfig::list_operate_on_class_ids
gint * list_operate_on_class_ids
Definition: deepstream_gie.h:58
NV_DS_GIE_PLUGIN_INFER
@ NV_DS_GIE_PLUGIN_INFER
Definition: deepstream_gie.h:39
NvDsGieConfig
Definition: deepstream_gie.h:43
_NvOSD_ColorParams
Holds the color parameters of the box or text to be overlayed.
Definition: nvll_osd_struct.h:80
NvDsGieConfig::input_tensor_meta
gboolean input_tensor_meta
Definition: deepstream_gie.h:49
NvDsGieConfig::interval
guint interval
Definition: deepstream_gie.h:70
NvDsGieConfig::enable
gboolean enable
Definition: deepstream_gie.h:45
NvDsGieConfig::bbox_border_color
NvOSD_ColorParams bbox_border_color
Definition: deepstream_gie.h:62
NvDsGieConfig::gpu_id
guint gpu_id
Definition: deepstream_gie.h:74
NvDsGieConfig::config_file_path
gchar * config_file_path
Definition: deepstream_gie.h:47