NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/libs/nvdsinferutils/include/nvdsinfer_dbscan.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 
35 #ifndef __NVDSINFER_DBSCAN_H__
36 #define __NVDSINFER_DBSCAN_H__
37 
38 #include <stddef.h>
39 #include <stdint.h>
40 
41 #include <nvdsinfer.h>
42 
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 
48 struct NvDsInferDBScan;
49 
52 
54 typedef struct
55 {
56  float eps;
57  uint32_t minBoxes;
60  int enableATHRFilter;
62  float thresholdATHR;
64  float minScore;
66 
72 //WINDOWS
73 #ifdef _WIN32
74 __declspec(dllexport)
75 #endif
77 
83 //WINDOWS
84 #ifdef _WIN32
85 __declspec(dllexport)
86 #endif
88 
101 //WINDOWS
102 #ifdef _WIN32
103 __declspec(dllexport)
104 #endif
107  size_t *numObjects);
108 
126 //WINDOWS
127 #ifdef _WIN32
128 __declspec(dllexport)
129 #endif
132  size_t *numObjects);
133 
134 #ifdef __cplusplus
135 }
136 #endif
137 
138 #endif
139 
NvDsInferDBScanCreate
NvDsInferDBScanHandle NvDsInferDBScanCreate()
Creates a new DBScan object clustering context.
NvDsInferDBScanClusterHybrid
void NvDsInferDBScanClusterHybrid(NvDsInferDBScanHandle handle, NvDsInferDBScanClusteringParams *params, NvDsInferObjectDetectionInfo *objects, size_t *numObjects)
Clusters an array of objects in place using specified clustering parameters.
NvDsInferDBScanCluster
void NvDsInferDBScanCluster(NvDsInferDBScanHandle handle, NvDsInferDBScanClusteringParams *params, NvDsInferObjectDetectionInfo *objects, size_t *numObjects)
Clusters an array of objects in place using specified clustering parameters.
NvDsInferObjectDetectionInfo
Holds information about one parsed object from a detector's output.
Definition: includes/nvdsinfer.h:150
NvDsInferDBScanClusteringParams
Holds object clustering parameters required by DBSCAN.
Definition: includes/nvdsinfer_dbscan.h:54
NvDsInferDBScanDestroy
void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle)
Destroys a DBScan object clustering context.
NvDsInferDBScanHandle
struct NvDsInferDBScan * NvDsInferDBScanHandle
Holds an opaque DBScan clustering context handle.
Definition: 9.2/sources/libs/nvdsinferutils/include/nvdsinfer_dbscan.h:51
NvDsInferDBScan
NvDsInferDBScan class.
Definition: sources/libs/nvdsinferutils/dbscan/nvdsinfer_dbscan.hpp:72