NVIDIA DeepStream SDK API Reference4.0 Release |
Defines the API for DBScan-based object clustering.
Data Structures | |
struct | NvDsInferDBScanClusteringParams |
Holds the object clustering parameters required by DBSCAN. More... | |
Typedefs | |
typedef struct NvDsInferDBScan * | NvDsInferDBScanHandle |
DBScan clustering context handle. More... | |
Functions | |
NvDsInferDBScanHandle | NvDsInferDBScanCreate () |
Create a new DBScan object clustering context. More... | |
void | NvDsInferDBScanDestroy (NvDsInferDBScanHandle handle) |
Destroy a DBScan object clustering context. More... | |
void | NvDsInferDBScanCluster (NvDsInferDBScanHandle handle, NvDsInferDBScanClusteringParams *params, NvDsInferObjectDetectionInfo *objects, size_t *numObjects) |
Cluster an array of objects using given clustering parameters in-place. More... | |
typedef struct NvDsInferDBScan* NvDsInferDBScanHandle |
DBScan clustering context handle.
Definition at line 46 of file nvdsinfer_dbscan.h.
void NvDsInferDBScanCluster | ( | NvDsInferDBScanHandle | handle, |
NvDsInferDBScanClusteringParams * | params, | ||
NvDsInferObjectDetectionInfo * | objects, | ||
size_t * | numObjects | ||
) |
Cluster an array of objects using given clustering parameters in-place.
[in] | handle | Handle to the context be used for clustering. |
[in] | params | Clustering paramaters. |
[in,out] | objects | Array of objects to be clustered. The function will place the clustered objects in the same array. |
[in,out] | numObjects | Number of valid objects in the objects array. The function will set the value after clustering. |
NvDsInferDBScanHandle NvDsInferDBScanCreate | ( | ) |
Create a new DBScan object clustering context.
void NvDsInferDBScanDestroy | ( | NvDsInferDBScanHandle | handle | ) |
Destroy a DBScan object clustering context.
[in] | handle | Handle to the context to be destroyed. |