NVIDIA DeepStream SDK API Reference

4.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
DBScan Based Object Clustering API

Detailed Description

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 Documentation

typedef struct NvDsInferDBScan* NvDsInferDBScanHandle

DBScan clustering context handle.

Definition at line 46 of file nvdsinfer_dbscan.h.

Function Documentation

void NvDsInferDBScanCluster ( NvDsInferDBScanHandle  handle,
NvDsInferDBScanClusteringParams params,
NvDsInferObjectDetectionInfo objects,
size_t *  numObjects 
)

Cluster an array of objects using given clustering parameters in-place.

Parameters
[in]handleHandle to the context be used for clustering.
[in]paramsClustering paramaters.
[in,out]objectsArray of objects to be clustered. The function will place the clustered objects in the same array.
[in,out]numObjectsNumber of valid objects in the objects array. The function will set the value after clustering.
NvDsInferDBScanHandle NvDsInferDBScanCreate ( )

Create a new DBScan object clustering context.

Returns
Handle to the newly created context.
void NvDsInferDBScanDestroy ( NvDsInferDBScanHandle  handle)

Destroy a DBScan object clustering context.

Parameters
[in]handleHandle to the context to be destroyed.