DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

LspDetector_processPipeline.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
48 #ifndef DW_LIGHTSOURCENET_DETECTOR_PROCESSPIPELINE_H_
49 #define DW_LIGHTSOURCENET_DETECTOR_PROCESSPIPELINE_H_
50 
52 #include <dw/dnn/DNN.h>
53 #include <dw/dnn/DataConditioner.h>
54 #include <dw/image/Image.h>
55 #include <dw/core/Context.h>
57 
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
61 
63 typedef enum {
69 
72 
75 
77 
79 
90  const dwImageCUDA* imageBayer,
92 
103 
114 
124 
134 
144 
154 
165 
166 #ifdef __cplusplus
167 }
168 #endif
169 
170 #endif // DW_LIGHTSOURCENET_DETECTOR_PROCESSPIPELINE_H_
After inference CPU runs post processing.
struct dwImageObject * dwImageHandle_t
Definition: Image.h:99
NVIDIA DriveWorks API: LightSourceNet Module
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindInput(const dwImageCUDA *imageRGB, const dwImageCUDA *imageBayer, dwLightSourceDetectorHandle_t obj)
Binds the input images to the detector.
DW_API_PUBLIC dwStatus dwLightSourceDetector_process(dwLightSourceDetectorStage stage, dwLightSourceDetectorHandle_t obj)
Perform object detection stages.
NVIDIA DriveWorks API: LightSourceDetector Methods
Defines a CUDA image.
Definition: Image.h:266
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
NVIDIA DriveWorks API: DNN Methods
dwStatus
Status definition.
Definition: Status.h:178
NVIDIA DriveWorks API: Data Conditioner Methods
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindInputRawImage(const dwImageCUDA *imageBayer, dwLightSourceDetectorHandle_t obj)
Binds the input raw image to the detector.
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindInputTensor(dwAutoNetOutputHandle_t netTensor, dwLightSourceDetectorHandle_t obj)
Binds the network inference output tensor.
Input image is preprocessed on GPU side with certain predefined transformations in order to have the ...
DNN inference is run on prepared image.
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindOutputRawDetectorMaskImage(dwImageHandle_t output, dwLightSourceDetectorHandle_t obj)
Bind the output 3 (matrix beam raw detection mask image) of the detector to object.
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindOutputAutoBeamStatus(dwLightSourceDetectorAutoBeamStatus *output, dwLightSourceDetectorHandle_t obj)
Bind the ouput 0 (auto beam status) of the detector to object.
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindOutputDetectorMask(dwLightSourceDetectorMask *output, dwLightSourceDetectorHandle_t obj)
Bind the output 1 (matrix beam detection mask) of the detector to object.
struct dwAutoNetOutputObject * dwAutoNetOutputHandle_t
Handle to a AutoNet output object.
Definition: AutoNet.h:71
Async GPU post-processing is run after inference.
struct dwLightSourceDetectorObject * dwLightSourceDetectorHandle_t
Handle to an object detector.
Definition: LspDetector.h:66
#define DW_API_PUBLIC
Definition: Exports.h:56
DNN Raw detection mask.
Definition: LspDetector.h:104
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindOutputDetectorMaskImage(dwImageHandle_t output, dwLightSourceDetectorHandle_t obj)
Bind the output 2 (matrix beam detection mask image) of the detector to object.