NVIDIA DeepStream SDK API Reference

9.1 Release
9.1/sources/includes/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 
51 typedef struct NvDsInferDBScan *NvDsInferDBScanHandle;
52 
54 typedef struct
55 {
56  float eps;
57  uint32_t minBoxes;
60  int enableATHRFilter;
62  float thresholdATHR;
64  float minScore;
66 
73 
80 
95  size_t *numObjects);
96 
116  size_t *numObjects);
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 #endif
123 
nvdsinfer.h
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: sources/includes/nvdsinfer.h:150
NvDsInferDBScanClusteringParams
Holds object clustering parameters required by DBSCAN.
Definition: sources/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.1/sources/includes/nvdsinfer_dbscan.h:51