DriveWorks SDK Reference

| 0.6.67 Release

DriveNet.h File Reference

Detailed Description

NVIDIA DriveWorks API: DriveNet Module

Description: This file defines the DriveNet module.

Definition in file DriveNet.h.

Go to the source code of this file.

Data Structures

struct  dwDriveNetParams
 

Typedefs

typedef struct dwDriveNetObject * dwDriveNetHandle_t
 Handle to a DriveNet object. More...
 

Enumerations

enum  dwDriveNetBatchSize {
  DW_DRIVENET_BATCHSIZE_1 = 0,
  DW_DRIVENET_BATCHSIZE_2 = 1
}
 
enum  dwDriveNetClass {
  DW_DRIVENET_CLASS_CAR = 0,
  DW_DRIVENET_CLASS_TRAFFIC_SIGN = 1,
  DW_DRIVENET_CLASS_BICYCLE = 2,
  DW_DRIVENET_CLASS_TRUCK = 3,
  DW_DRIVENET_CLASS_PEDESTRIAN = 4,
  DW_DRIVENET_CLASS_TRAFFIC_LIGHT = 5,
  DW_DRIVENET_NUM_CLASSES
}
 Class IDs detectable by the DriveNet implementation. More...
 
enum  dwDriveNetNetworkPrecision {
  DW_DRIVENET_PRECISION_INT8 = 0,
  DW_DRIVENET_PRECISION_FP16 = 1,
  DW_DRIVENET_PRECISION_FP32 = 2
}
 

Functions

DW_API_PUBLIC dwStatus dwDriveNet_getClassLabel (const char **classLabel, uint32_t classIdx, dwDriveNetHandle_t obj)
 Returns the class label for a given class index. More...
 
DW_API_PUBLIC dwStatus dwDriveNet_getDNNMetaData (dwDNNMetaData *metaData, dwDriveNetHandle_t obj)
 Returns the DNN metadata. More...
 
DW_API_PUBLIC dwStatus dwDriveNet_getInputBlobsize (dwBlobSize *inputBlobsize, dwDriveNetHandle_t obj)
 Returns input blob size that DriveNet expects. More...
 
DW_API_PUBLIC dwStatus dwDriveNet_initDefaultParams (dwDriveNetParams *params)
 Initializes DriveNet parameters with default values. More...
 
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. More...
 
DW_API_PUBLIC dwStatus dwDriveNet_release (dwDriveNetHandle_t *obj)
 Releases the DriveNet module. More...
 
DW_API_PUBLIC dwStatus dwDriveNet_reset (dwDriveNetHandle_t obj)
 Resets DriveNet. More...