48 #ifndef DW_DRIVENET_H_ 49 #define DW_DRIVENET_H_ 271 dwDriveNetHandle_t obj);
277 #endif // DW_DRIVENET_H_ DriveNet network is loaded with batch size = 2 if available.
DriveNet model that performs best on front camera.
DW_API_PUBLIC dwStatus dwDriveNet_release(dwDriveNetHandle_t obj)
Releases the DriveNet module.
dwDriveNetBatchSize
DriveNet network batch size options.
bool suppressRiderInCar
Suppress detected pedestrians which are actually riders in a car.
DW_API_PUBLIC dwStatus dwDriveNet_initialize(dwDriveNetHandle_t *drivenetHandle, const dwDriveNetParams *drivenetParams, dwContextHandle_t ctx)
Initializes DriveNet module.
bool hasDepth
Deprecated flag indicating to load a network that outputs depth for detected objects.
DriveNet model that performs best on side camera.
dwDriveNetCameraType cameraType
Type of camera based on the field of view.
bool hasObjectUrgency
Flag indicating to load a network that outputs urgency for detected objects.
Stateful Temporal DriveNet model that also predicts urgency on front camera.
uint32_t maxClustersPerClass
Maximum number of clusters per class. Default is 100.
bool hasDepth
Flag indicating whether a valid depth is provided for a given object class.
DW_API_PUBLIC dwStatus dwDriveNet_getClassProperties(dwDriveNetClassProperties *properties, dwObjectClass objectClass, dwDriveNetHandle_t obj)
Returns properties of the DriveNet model for a given class.
NVIDIA DriveWorks API: Core Methods
dwDriveNetModel networkModel
Drivenet network model. Default is DW_DRIVENET_MODEL_FRONT.
struct dwDriveNetObject * dwDriveNetHandle_t
Handle to a DriveNet object.
DW_API_PUBLIC dwStatus dwDriveNet_initDefaultParams(dwDriveNetParams *params, dwContextHandle_t ctx)
Initializes DriveNet parameters with default values.
dwPrecision networkPrecision
Drivenet network precision. Default is DW_PRECISION_FP32.
Stateless Temporal DriveNet model that also predicts urgency on front camera.
NVIDIA DriveWorks API: DNN Methods
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwDriveNet_getAvailableClasses(const dwObjectClass **objectClasses, uint32_t *numObjectClasses, dwDriveNetHandle_t obj)
Returns the object classes that DriveNet can detect.
DriveNet network is loaded with batch size = 4 if available.
dwProcessorType
Processor type definitions.
const void * networkCustomData
Custom network data. Must be set if custom model is selected and available.
DriveNet network is loaded with batch size = 1 if available.
Loads custom drivenet model if available.
bool hasObjectDepth
Flag indicating to load a network that outputs depth for detected objects.
bool hasUrgency
Flag indicating whether a valid urgency is provided for a given object class.
DW_API_PUBLIC dwStatus dwDriveNet_getProcessorType(dwProcessorType *processorType, dwDriveNetHandle_t obj)
Returns processor type that DriveNet runs on.
#define DW_DEPRECATED(msg)
DW_API_PUBLIC dwStatus dwDriveNet_reset(dwDriveNetHandle_t obj)
Resets DriveNet.
DriveNet properties per class.
dwDriveNetCameraType
DriveNet camera type based on its field of view.
Number of available DriveNet models.
dwDriveNetModel
DriveNet network models to be loaded by DriveNet module.
DW_API_PUBLIC dwStatus dwDriveNet_getDNNMetaData(dwDNNMetaData *metaData, dwDriveNetHandle_t obj)
Returns the DNN metadata.
struct dwContextObject * dwContextHandle_t
Context handle.
bool hasOrientation
Flag indicating whether a valid orientation is provided for a given object class. ...
NVIDIA DriveWorks API: World Module
dwProcessorType processorType
Processor type. Supported processors: GPU, DLA (only on DDPX)
dwObjectClass
Object classes known to DriveWorks.
uint32_t maxProposalsPerClass
Maximum number of RAW detections per class directly obtained from DNN. Default is 100...
bool hasVisibility
Flag indicating whether a valid visibility is provided for a given object class.
DW_API_PUBLIC dwStatus dwDriveNet_getInputBlobsize(dwBlobSize *inputBlobsize, dwDriveNetHandle_t obj)
Returns input blob size that DriveNet expects.
dwDriveNetBatchSize batchSize
Drivenet network batch size.
DriveNet model parameters.