NVIDIA DeepStream SDK API Reference

4.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
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 
27 #ifndef __NVDSINFER_DBSCAN_H__
28 #define __NVDSINFER_DBSCAN_H__
29 
30 #include <stddef.h>
31 #include <stdint.h>
32 
33 #include <nvdsinfer.h>
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
42 struct NvDsInferDBScan;
46 typedef struct NvDsInferDBScan *NvDsInferDBScanHandle;
47 
51 typedef struct
52 {
53  float eps;
54  uint32_t minBoxes;
61 
67 NvDsInferDBScanHandle NvDsInferDBScanCreate();
68 
74 void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle);
75 
86 void NvDsInferDBScanCluster(NvDsInferDBScanHandle handle,
88  size_t *numObjects);
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif
95 
Holds information about one parsed object from detector's output.
Definition: nvdsinfer.h:126
Holds the object clustering parameters required by DBSCAN.
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.
float thresholdATHR
Area to hit ratio threshold.
NVIDIA DeepStream inference specifications
void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle)
Destroy a DBScan object clustering context.
int enableATHRFilter
Boolean indicating whether Area-To-Hit-Ratio filter is enabled.
struct NvDsInferDBScan * NvDsInferDBScanHandle
DBScan clustering context handle.