DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

SignNet.h File Reference

Detailed Description

NVIDIA DriveWorks API: SignNet Module

Description: This file defines SignNet methods.

Definition in file SignNet.h.

Go to the source code of this file.

Data Structures

struct  dwSignNetParams
 

Macros

#define DW_SIGNNET_MAX_CLASSES   796
 
#define DW_SIGNNET_MAX_DNN_OUTPUT   1000
 
#define DW_SIGNNET_MAX_MODELS   64
 

Typedefs

typedef const char * dwSignNetClassName
 Type for SignNet model class. More...
 
typedef struct dwSignNetObject * dwSignNetHandle_t
 Handle to a SignNet object. More...
 
typedef const char * dwSignNetModelName
 SignNet model name type. More...
 

Enumerations

enum  dwSignNetBatchSize {
  DW_SIGNNET_BATCH_SIZE_1 = 0,
  DW_SIGNNET_BATCH_SIZE_16 = 1,
  DW_SIGNNET_BATCH_SIZE_32 = 2
}
 SignNet network batch size options. More...
 
enum  dwSignNetModel {
  DW_SIGNNET_MODEL_US_V2 = 0,
  DW_SIGNNET_MODEL_US_V4 = 1,
  DW_SIGNNET_MODEL_EU_V3 = 2,
  DW_SIGNNET_MODEL_EU_V4 = 3,
  DW_SIGNNET_MODEL_JP_V1 = 4,
  DW_SIGNNET_MODEL_COUNT,
  DW_SIGNNET_MODEL_US_CURRENT = DW_SIGNNET_MODEL_US_V4,
  DW_SIGNNET_MODEL_EU_CURRENT = DW_SIGNNET_MODEL_EU_V4,
  DW_SIGNNET_MODEL_JP_CURRENT = DW_SIGNNET_MODEL_JP_V1,
  DW_SIGNNET_MODEL_CUSTOM = -1
}
 SignNet network models to be loaded by SignNet module. More...
 

Functions

DW_API_PUBLIC dwStatus dwSignNet_getAvailableClasses (const dwSignClass **signClasses, uint32_t *numSignClasses, dwSignNetHandle_t obj)
 Returns the sign classes that SignNet can detect. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getAvailableClassesNew (dwSignNetClassName *signClasses, uint32_t *numSignClasses, dwSignNetHandle_t obj)
 Returns the sign classes that SignNet can detect. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getAvailableModels (dwSignNetModelName *availableModels, uint32_t *numAvailableModels)
 Returns the list of models the SignNet module has. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getClassLabel (const char **classLabel, uint32_t classIdx, dwSignNetHandle_t obj)
 Returns the class label for a given class index for UI output. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getDNNMetaData (dwDNNMetaData *metaData, dwSignNetHandle_t obj)
 Returns the DNN metadata. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getInputBlobsize (dwBlobSize *inputBlobsize, dwSignNetHandle_t obj)
 Returns input blob size that SignNet expects. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getModelNameLabel (const char **modelNameLabel, dwSignNetHandle_t obj)
 Returns the SignNet model text label (name of a model) for a hangle. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getNumberOutputs (uint32_t *numSignOutputs, dwSignNetHandle_t obj)
 Returns the number of raw signnet outputs its DNN produces. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getTrafficSignalClass (dwTrafficSignalClass *trafficSignalClass, uint32_t classIdx, dwSignNetHandle_t obj)
 Returns the dwTrafficSignalClass sturcutre for a given class index for UI output. More...
 
DW_API_PUBLIC dwStatus dwSignNet_getTypeLabel (const char **classLabel, uint32_t classIdx, dwSignNetHandle_t obj)
 Returns the class label for a given class index for UI output. More...
 
DW_API_PUBLIC dwStatus dwSignNet_initDefaultParams (dwSignNetParams *params, dwContextHandle_t ctx)
 Initializes SignNet parameters with default values. More...
 
DW_API_PUBLIC dwStatus dwSignNet_initialize (dwSignNetHandle_t *signNetHandle, const dwSignNetParams *signNetParams, dwContextHandle_t ctx)
 Initializes SignNet module. More...
 
DW_API_PUBLIC dwStatus dwSignNet_release (dwSignNetHandle_t obj)
 Releases the SignNet module. More...
 
DW_API_PUBLIC dwStatus dwSignNet_reset (dwSignNetHandle_t obj)
 Resets SignNet. More...