Defines the API for DBScan-based object clustering.
◆ NvDsInferDBScanHandle
◆ NvDsInferDBScanCluster()
Clusters an array of objects in place using specified clustering parameters.
- Parameters
-
[in] | handle | A handle to the context be used for clustering. |
[in] | params | A pointer to a clustering parameter structure. |
[in,out] | objects | A pointer to an array of objects to be clustered. The function places the clustered objects in the same array. |
[in,out] | numObjects | A pointer to the number of valid objects in the objects array. The function sets this value after clustering. |
◆ NvDsInferDBScanClusterHybrid()
Clusters an array of objects in place using specified clustering parameters.
The outputs are partially only clustered i.e to merge close neighbors of the same cluster together only and the mean normalization of all the proposals in a cluster is not performed. The outputs from this stage are later fed into another clustering algorithm like NMS to obtain the final results.
- Parameters
-
[in] | handle | A handle to the context be used for clustering. |
[in] | params | A pointer to a clustering parameter structure. |
[in,out] | objects | A pointer to an array of objects to be clustered. The function places the clustered objects in the same array. |
[in,out] | numObjects | A pointer to the number of valid objects in the objects array. The function sets this value after clustering. |
◆ NvDsInferDBScanCreate()
Creates a new DBScan object clustering context.
- Returns
- A handle to the created context.
◆ NvDsInferDBScanDestroy()
Destroys a DBScan object clustering context.
- Parameters
-
[in] | handle | The handle to the context to be destroyed. |