NVIDIA DeepStream SDK API Reference

6.4 Release
deepstream_tracker.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2023, 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_TRACKER_H__
24 #define __NVGSTDS_TRACKER_H__
25 
26 #include <gst/gst.h>
27 #include <stdint.h>
28 #include "nvds_tracker_meta.h"
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
35 typedef struct
36 {
37  gboolean enable;
38  gint width;
39  gint height;
40  guint gpu_id;
43  gchar* ll_lib_file;
49  guint compute_hw;
51  const gchar* sub_batches;
53 
54 typedef struct
55 {
56  GstElement *bin;
57  GstElement *tracker;
59 
60 typedef uint64_t NvDsTrackerStreamId;
61 
74 gboolean
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif
NvDsTrackerBin::bin
GstElement * bin
Definition: deepstream_tracker.h:56
NvDsTrackerConfig::width
gint width
Definition: deepstream_tracker.h:38
NvDsTrackerConfig::ll_lib_file
gchar * ll_lib_file
Definition: deepstream_tracker.h:43
NvDsTrackerConfig::gpu_id
guint gpu_id
Definition: deepstream_tracker.h:40
NvDsTrackerConfig::enable
gboolean enable
Definition: deepstream_tracker.h:37
NvDsTrackerConfig::ll_config_file
gchar * ll_config_file
Definition: deepstream_tracker.h:42
NvDsTrackerConfig::sub_batches
const gchar * sub_batches
Definition: deepstream_tracker.h:51
NvDsTrackerStreamId
uint64_t NvDsTrackerStreamId
Definition: deepstream_tracker.h:60
NvDsTrackerConfig::tracking_surface_type
guint tracking_surface_type
Definition: deepstream_tracker.h:44
NvDsTrackerBin::tracker
GstElement * tracker
Definition: deepstream_tracker.h:57
NvDsTrackerConfig::input_tensor_gie_id
guint input_tensor_gie_id
Definition: deepstream_tracker.h:48
NvDsTrackerConfig::tracking_surf_type
guint tracking_surf_type
Definition: deepstream_tracker.h:41
NvDsTrackerBin
Definition: deepstream_tracker.h:54
NvDsTrackerConfig::height
gint height
Definition: deepstream_tracker.h:39
NvDsTrackerConfig::display_tracking_id
gboolean display_tracking_id
Definition: deepstream_tracker.h:45
NvDsTrackerConfig::user_meta_pool_size
guint user_meta_pool_size
Definition: deepstream_tracker.h:50
NvDsTrackerConfig::input_tensor_meta
gboolean input_tensor_meta
Definition: deepstream_tracker.h:47
NvDsTrackerConfig
Definition: deepstream_tracker.h:35
create_tracking_bin
gboolean create_tracking_bin(NvDsTrackerConfig *config, NvDsTrackerBin *bin)
Initialize NvDsTrackerBin.
nvds_tracker_meta.h
NvDsTrackerConfig::tracking_id_reset_mode
guint tracking_id_reset_mode
Definition: deepstream_tracker.h:46
NvDsTrackerConfig::compute_hw
guint compute_hw
Definition: deepstream_tracker.h:49