1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
3 @page drivenet_usecase1 DriveNet Workflow
5 @note SW Release Applicability: This tutorial is applicable to modules in **NVIDIA DRIVE Software** releases.
9 DriveNet module creates a DriveNet handle ( `::dwDriveNetHandle_t` ) that is owned by the application and must be released by the application when it's not needed anymore.
11 The following `::dwDriveNetParams` are required to be defined at initialization:
14 uint32_t maxProposalsPerClass
17 Maximum number of proposals (i.e. detections before clustering) per class. This value can only be set at initialization.
20 uint32_t maxClustersPerClass
23 Maximum number of clusters per class. This value can only be set at initialization.
26 dwPrecision networkPrecision
29 This parameter determines at which precision DriveNet must be loaded. This parameter can affect the speed of the network greatly.
35 This parameter determines if we wish enable depth estimation for objects the detected.
37 DriveNet module can be initialized with the following function:
40 dwStatus dwDriveNet_initialize(dwDriveNetHandle_t* drivenetHandle,
41 const dwDriveNetParams* drivenetParams,
42 dwContextHandle_t ctx);
45 DriveNet provides at initialization as outputs the number of object classes that DriveNet can detect and the list of object classes that DriveNet can detect. The object classes are returned as `::dwObjectClass`. Upon desire, the classes can be obtained via `dwDriveNet_getAvailableClasses()`.
47 DriveNet comes with meta data which contains preprocessing configuration for the network. @ref object_description1 module automatically reads this meta data information and configures @ref dataconditioner_mainsection accordingly.
48 @ref object_usecase1 shows in more details how to use DriveNet after initialization.
50 For more details see @ref dwx_drivenet_sample