NVIDIA DeepStream SDK API Reference

9.1 Release
9.1/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;
36  guint tracking_surf_type;
37  gchar* ll_config_file;
38  gchar* ll_lib_file;
39  guint tracking_surface_type;
40  gboolean display_tracking_id;
41  guint tracking_id_reset_mode;
42  gboolean input_tensor_meta;
43  guint input_tensor_gie_id;
44  guint compute_hw;
45  guint user_meta_pool_size;
46  gchar* sub_batches;
47  gint sub_batch_err_recovery_trial_cnt;
48  gchar* operate_on_class_ids;
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
NvDsTrackerBin
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:51
create_tracking_bin
gboolean create_tracking_bin(NvDsTrackerConfig *config, NvDsTrackerBin *bin)
Initialize NvDsTrackerBin.
NvDsTrackerConfig
Definition: sources/apps/apps-common/includes/deepstream_tracker.h:30
NvDsTrackerStreamId
uint64_t NvDsTrackerStreamId
Definition: 9.1/sources/apps/apps-common/includes/deepstream_tracker.h:57