45 #ifndef DW_DRIVENET_H__ 46 #define DW_DRIVENET_H__ 143 const dwDriveNetClass **objectClasses,
144 uint32_t *numObjectClasses,
209 #endif // DW_DRIVENET_H__ DriveNet network is loaded with batch size = 1 if available.
dwDriveNetBatchSize networkBatchSize
Drivenet network batch size. Default is DW_DRIVENET_BATCHSIZE_1.
DW_API_PUBLIC dwStatus dwDriveNet_release(dwDriveNetHandle_t *obj)
Releases the DriveNet module.
uint32_t maxClustersPerClass
Maximum number of clusters per class. Default is 100.
NVIDIA DriveWorks API: Core Methods
struct dwDriveNetObject * dwDriveNetHandle_t
Handle to a DriveNet object.
NVIDIA DriveWorks API: DNN Methods
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwDriveNet_initialize(dwDriveNetHandle_t *drivenetHandle, dwObjectClusteringHandle_t **objectClusteringHandles, const dwDriveNetClass **objectClasses, uint32_t *numObjectClasses, dwContextHandle_t ctx, const dwDriveNetParams *drivenetParams)
Initializes DriveNet module.
NVIDIA DriveWorks API: ObjectClustering Methods
DriveNet network is loaded with FP16 precision.
DriveNet network is loaded with batch size = 2 if available.
DriveNet network is loaded with INT8 precision.
DW_API_PUBLIC dwStatus dwDriveNet_reset(dwDriveNetHandle_t obj)
Resets DriveNet.
DW_API_PUBLIC dwStatus dwDriveNet_getClassLabel(const char **classLabel, uint32_t classIdx, dwDriveNetHandle_t obj)
Returns the class label for a given class index.
dwDriveNetNetworkPrecision networkPrecision
Drivenet network precision. Default is DW_DRIVENET_PRECISION_FP32.
dwDriveNetClass
Class IDs detectable by the DriveNet implementation.
DW_API_PUBLIC dwStatus dwDriveNet_getDNNMetaData(dwDNNMetaData *metaData, dwDriveNetHandle_t obj)
Returns the DNN metadata.
struct dwContextObject * dwContextHandle_t
Context handle.
NVIDIA DriveWorks API: Object Methods
DW_API_PUBLIC dwStatus dwDriveNet_initDefaultParams(dwDriveNetParams *params)
Initializes DriveNet parameters with default values.
uint32_t maxProposalsPerClass
Maximum number of RAW detections per class directly obtained from DNN. Default is 100...
struct dwObjectClusteringObject * dwObjectClusteringHandle_t
Handle to an ObjectClustering.
DriveNet network is loaded with FP32 precision.
DW_API_PUBLIC dwStatus dwDriveNet_getInputBlobsize(dwBlobSize *inputBlobsize, dwDriveNetHandle_t obj)
Returns input blob size that DriveNet expects.
dwDriveNetNetworkPrecision