48 #ifndef DW_OPENROADNET_H_ 49 #define DW_OPENROADNET_H_ 194 #endif // DW_OPENROADNET_H_
OpenRoadNet network is loaded with batch size = 2 if available.
struct dwOpenRoadNetObject * dwOpenRoadNetHandle_t
Handle to a OpenRoadNet object.
OpenRoadNet network is loaded with batch size = 6 if available.
dwOpenRoadNetModel
OpenRoadNet network models to be loaded by OpenRoadNet module.
dwOpenRoadNetModel networkModel
OpenRoadNet network model. Default is DW_OPENROADNET_MODEL_FRONT.
DW_API_PUBLIC dwStatus dwOpenRoadNet_getDNNMetaData(dwDNNMetaData *metaData, dwOpenRoadNetHandle_t obj)
Returns the DNN metadata.
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwOpenRoadNet_getInputBlobsize(dwBlobSize *inputBlobsize, dwOpenRoadNetHandle_t obj)
Returns input blob size that OpenRoadNet expects.
DW_API_PUBLIC dwStatus dwOpenRoadNet_initialize(dwOpenRoadNetHandle_t *openRoadNetHandle, dwContextHandle_t ctx, const dwOpenRoadNetParams *openRoadNetParams)
Initializes OpenRoadNet module.
NVIDIA DriveWorks API: DNN Methods
OpenRoadNet model that performs best on side camera.
dwStatus
Status definition.
dwFreespaceBoundaryType
Category of free space boundary.
OpenRoadNet network is loaded with batch size = 4 if available.
OpenRoadNet network is loaded with batch size = 1 if available.
DW_API_PUBLIC dwStatus dwOpenRoadNet_getClassLabel(const char **classLabel, uint32_t classIdx, dwOpenRoadNetHandle_t obj)
Returns the class label for a given class index.
DW_API_PUBLIC dwStatus dwOpenRoadNet_initDefaultParams(dwOpenRoadNetParams *params, dwContextHandle_t ctx)
Initializes OpenRoadNet parameters with default values.
dwOpenRoadNetBatchSize batchSize
DW_API_PUBLIC dwStatus dwOpenRoadNet_release(dwOpenRoadNetHandle_t obj)
Releases the OpenRoadNet module.
dwPrecision networkPrecision
OpenRoadNet network precision. Default is DW_PRECISION_FP32.
Loads custom OpenRoadNet model if available.
struct dwContextObject * dwContextHandle_t
Context handle.
OpenRoadNet model that performs best on front camera.
DW_API_PUBLIC dwStatus dwOpenRoadNet_reset(dwOpenRoadNetHandle_t obj)
Resets OpenRoadNet.
dwOpenRoadNetBatchSize
OpenRoadNet network batch size options.
const void * networkCustomData
Custom network data. Must be set if custom model is selected and available.
boundary with other objects