48 #ifndef DW_LIGHTNET_H_ 49 #define DW_LIGHTNET_H_ 179 dwLightNetHandle_t obj);
185 #endif // DW_LIGHTNET_H_ DW_API_PUBLIC dwStatus dwLightNet_getDNNMetaData(dwDNNMetaData *metaData, dwLightNetHandle_t obj)
Returns the DNN metadata.
LightNet network is loaded with batch size = 16 if available.
DW_API_PUBLIC dwStatus dwLightNet_initDefaultParams(dwLightNetParams *params, dwContextHandle_t ctx)
Initializes LightNet parameters with default values.
const void * networkCustomData
Custom network data. Must be set if custom model is selected and available.
dwLightNetBatchSize batchSize
LightNet network batch size. Default is DW_LIGHTNET_BATCH_SIZE_1.
NVIDIA DriveWorks API: Core Methods
Loads custom LightNet model if available.
DW_API_PUBLIC dwStatus dwLightNet_release(dwLightNetHandle_t obj)
Releases the LightNet module.
NVIDIA DriveWorks API: DNN Methods
LightNet model on front camera.
DW_API_PUBLIC dwStatus dwLightNet_getNumberOutputs(uint32_t *numLightOutputs, dwLightNetHandle_t obj)
Returns the number of raw lightnet outputs its DNN produces.
dwStatus
Status definition.
dwProcessorType
Processor type definitions.
NVIDIA DriveWorks API: Traffic Sign types enum
DW_API_PUBLIC dwStatus dwLightNet_initialize(dwLightNetHandle_t *lightNetHandle, const dwLightNetParams *lightNetParams, dwContextHandle_t ctx)
Initializes LightNet module.
DW_API_PUBLIC dwStatus dwLightNet_getInputBlobsize(dwBlobSize *inputBlobsize, dwLightNetHandle_t obj)
Returns input blob size that LightNet expects.
dwLightNetModel
LightNet network models to be loaded by LightNet module.
dwPrecision networkPrecision
LightNet network precision. Default is DW_PRECISION_FP32.
LightNet network is loaded with batch size = 64 if available.
dwLightNetModel networkModel
LightNet network model. Default is DW_LIGHTNET_MODEL_FRONT_V7.
DW_API_PUBLIC dwStatus dwLightNet_getTypeLabel(const char **classLabel, uint32_t classIdx, dwLightNetHandle_t obj)
Returns the class label for a given class index.
dwProcessorType processorType
Processor type. Supported processors: GPU, DLA (only on DDPX)
DW_API_PUBLIC dwStatus dwLightNet_reset(dwLightNetHandle_t obj)
Resets LightNet.
struct dwContextObject * dwContextHandle_t
Context handle.
dwLightNetBatchSize
LightNet network batch size options.
LightNet network is loaded with batch size = 32 if available.
LightNet network is loaded with batch size = 1 if available.
struct dwLightNetObject * dwLightNetHandle_t
Handle to a LightNet object.