NVIDIA DeepStream SDK API Reference

9.1 Release
sources/apps/apps-common/includes/deepstream_tracker.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef __NVGSTDS_TRACKER_H__
19 #define __NVGSTDS_TRACKER_H__
20 
21 #include <gst/gst.h>
22 #include <stdint.h>
23 #include "nvds_tracker_meta.h"
24 
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif
29 
30 typedef struct
31 {
32  gboolean enable;
33  gint width;
34  gint height;
35  guint gpu_id;
38  gchar* ll_lib_file;
44  guint compute_hw;
46  gchar* sub_batches;
50 
51 typedef struct
52 {
53  GstElement *bin;
54  GstElement *tracker;
56 
57 typedef uint64_t NvDsTrackerStreamId;
58 
71 gboolean
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif
NvDsTrackerConfig::width
gint width
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:33
NvDsTrackerConfig::operate_on_class_ids
gchar * operate_on_class_ids
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:48
NvDsTrackerConfig::ll_lib_file
gchar * ll_lib_file
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:38
NvDsTrackerBin::tracker
GstElement * tracker
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:54
NvDsTrackerConfig::gpu_id
guint gpu_id
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:35
NvDsTrackerConfig::enable
gboolean enable
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:32
NvDsTrackerBin::bin
GstElement * bin
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:53
NvDsTrackerConfig::sub_batches
gchar * sub_batches
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:46
NvDsTrackerConfig::tracking_surface_type
guint tracking_surface_type
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:39
create_tracking_bin
gboolean create_tracking_bin(NvDsTrackerConfig *config, NvDsTrackerBin *bin)
Initialize NvDsTrackerBin.
NvDsTrackerConfig::input_tensor_gie_id
guint input_tensor_gie_id
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:43
NvDsTrackerConfig::tracking_surf_type
guint tracking_surf_type
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:36
NvDsTrackerBin
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:51
NvDsTrackerConfig::height
gint height
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:34
NvDsTrackerConfig::display_tracking_id
gboolean display_tracking_id
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:40
NvDsTrackerConfig::user_meta_pool_size
guint user_meta_pool_size
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:45
NvDsTrackerConfig::input_tensor_meta
gboolean input_tensor_meta
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:42
NvDsTrackerConfig
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:30
NvDsTrackerConfig::sub_batch_err_recovery_trial_cnt
gint sub_batch_err_recovery_trial_cnt
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:47
NvDsTrackerConfig::tracking_id_reset_mode
guint tracking_id_reset_mode
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:41
NvDsTrackerConfig::ll_config_file
gchar * ll_config_file
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:37
NvDsTrackerStreamId
uint64_t NvDsTrackerStreamId
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:57
NvDsTrackerConfig::compute_hw
guint compute_hw
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:44