NVIDIA DeepStream SDK API Reference

5.0 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 
28 #ifndef __NVDSINFER_DBSCAN_H__
29 #define __NVDSINFER_DBSCAN_H__
30 
31 #include <stddef.h>
32 #include <stdint.h>
33 
34 #include <nvdsinfer.h>
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
41 struct NvDsInferDBScan;
42 
44 typedef struct NvDsInferDBScan *NvDsInferDBScanHandle;
45 
47 typedef struct
48 {
49  float eps;
50  uint32_t minBoxes;
57  float minScore;
59 
65 NvDsInferDBScanHandle NvDsInferDBScanCreate();
66 
72 void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle);
73 
86 void NvDsInferDBScanCluster(NvDsInferDBScanHandle handle,
88  size_t *numObjects);
89 
107 void NvDsInferDBScanClusterHybrid(NvDsInferDBScanHandle handle,
109  size_t *numObjects);
110 
111 #ifdef __cplusplus
112 }
113 #endif
114 
115 #endif
116 
Holds information about one parsed object from a detector's output.
Definition: nvdsinfer.h:133
Holds object clustering parameters required by DBSCAN.
NvDsInferDBScanHandle NvDsInferDBScanCreate()
Creates a new DBScan object clustering context.
void NvDsInferDBScanCluster(NvDsInferDBScanHandle handle, NvDsInferDBScanClusteringParams *params, NvDsInferObjectDetectionInfo *objects, size_t *numObjects)
Clusters an array of objects in place using specified clustering parameters.
float thresholdATHR
Holds the area-to-hit ratio threshold.
NVIDIA DeepStream inference specifications
void NvDsInferDBScanDestroy(NvDsInferDBScanHandle handle)
Destroys a DBScan object clustering context.
int enableATHRFilter
Holds a Boolean; true enables the area-to-hit ratio (ATHR) filter.
void NvDsInferDBScanClusterHybrid(NvDsInferDBScanHandle handle, NvDsInferDBScanClusteringParams *params, NvDsInferObjectDetectionInfo *objects, size_t *numObjects)
Clusters an array of objects in place using specified clustering parameters.
struct NvDsInferDBScan * NvDsInferDBScanHandle
Holds an opaque DBScan clustering context handle.
float minScore
Holds the sum of neighborhood confidence thresholds.