48 #ifndef DW_DNN_MAPNET_H_ 49 #define DW_DNN_MAPNET_H_ 65 #define MAPNET_HEAD_MAX_COUNT 10 199 #endif // DW_DNN_MAPNET_H_ dwProcessorType processorType
Processor type. Supported processors: GPU, DLA (only on DDPX)
Regression based detection model.
DW_API_PUBLIC dwStatus dwMapNet_getClassLabel(const char **classLabel, uint32_t classIdx, dwMapNetHandle_t obj)
Returns the class label for a given class index.
DW_API_PUBLIC dwStatus dwMapNet_initDefaultParams(dwMapNetParams *params, dwMapNetType mapnetType, dwContextHandle_t ctx)
Initializes MapNet parameters with default values.
DW_API_PUBLIC dwStatus dwMapNet_initialize(dwMapNetHandle_t *mapNetHandle, const dwMapNetParams *mapNetParams, dwContextHandle_t ctx)
Initializes MapNet module.
struct dwMapNetObject * dwMapNetHandle_t
Handle to a MapNet object.
dwMapNetType mapNetType
MapNet category type(segmentation, regressor, e2e)
MapNet model that performs single-class lane detection on front camera.
Loads custom MapNet model if available.
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwMapNet_getInputBlobsize(dwBlobSize *inputBlobsize, dwMapNetHandle_t obj)
Returns input blob size that MapNet expects.
NVIDIA DriveWorks API: DNN Methods
End to end based detection model.
dwStatus
Status definition.
const void * networkCustomData
Custom network data. Must be set if custom model is selected and available.
dwProcessorType
Processor type definitions.
DW_API_PUBLIC dwStatus dwMapNet_reset(dwMapNetHandle_t obj)
Resets MapNet.
dwMapNetModel
MapNet network models to be loaded by MapNet module.
MapNet model that performs multi-class lane detection on front camera.
MapNet model that performs detection by end to end based approach.
MapNet model that performs detection by regression.
DW_API_PUBLIC dwStatus dwMapNet_release(dwMapNetHandle_t obj)
Releases the MapNet module.
struct dwContextObject * dwContextHandle_t
Context handle.
dwPrecision networkPrecision
MapNet network precision. Default is DW_PRECISION_FP32.
dwMapNetModel networkModel
MapNet network model. Default is DW_MAPNET_MODEL_FRONT_MULTI_CLASS.
Segmentation based detection model.
DW_API_PUBLIC dwStatus dwMapNet_getDNNMetaData(dwDNNMetaData *metaData, dwMapNetHandle_t obj)
Returns the DNN metadata.