NVIDIA DeepStream SDK API Reference

4.0.2 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvdsinfer_dbscan.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  */
10 
19 #ifndef __NVDSINFER_DBSCAN_H__
20 #define __NVDSINFER_DBSCAN_H__
21 
22 #include <stddef.h>
23 #include <stdint.h>
24 
25 #include <nvdsinfer.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
34 struct NvDsInferDBScan;
38 typedef struct NvDsInferDBScan *NvDsInferDBScanHandle;
39 
43 typedef struct
44 {
45  float eps;
46  uint32_t minBoxes;
53 
59 NvDsInferDBScanHandle NvDsInferDBScanCreate();
60 
66 void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle);
67 
78 void NvDsInferDBScanCluster(NvDsInferDBScanHandle handle,
80  size_t *numObjects);
81 
82 #ifdef __cplusplus
83 }
84 #endif
85 
86 #endif
Holds information about one parsed object from detector's output.
Definition: nvdsinfer.h:118
Holds the object clustering parameters required by DBSCAN.
float thresholdATHR
Area to hit ratio threshold.
Copyright (c) 2017-2019, NVIDIA CORPORATION.
int enableATHRFilter
Boolean indicating whether Area-To-Hit-Ratio filter is enabled.
NvDsInferDBScanHandle NvDsInferDBScanCreate()
Create a new DBScan object clustering context.
void NvDsInferDBScanCluster(NvDsInferDBScanHandle handle, NvDsInferDBScanClusteringParams *params, NvDsInferObjectDetectionInfo *objects, size_t *numObjects)
Cluster an array of objects using given clustering parameters in-place.
void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle)
Destroy a DBScan object clustering context.
struct NvDsInferDBScan * NvDsInferDBScanHandle
DBScan clustering context handle.