DriveWorks SDK Reference
3.0.4260 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
51
#include <
dw/perception/object/camera/LightSourceNet.h
>
52
#include <
dw/dnn/DNN.h
>
53
#include <
dw/dnn/DataConditioner.h
>
54
#include <
dw/image/Image.h
>
55
#include <
dw/core/Context.h
>
56
#include <
dw/advancedfunctions/lightsourceperception/LspDetector.h
>
57
58
#ifdef __cplusplus
59
extern
"C"
{
60
#endif
61
63
typedef
enum
{
66
DW_LSP_DETECTOR_STAGE_GPU_PREPROCESS
= 0,
67
69
DW_LSP_DETECTOR_STAGE_GPU_INFERENCE
= 1,
70
72
DW_LSP_DETECTOR_STAGE_CPU_POSTPROCESS
= 2,
73
74
}
dwLightSourceDetectorStage
;
75
77
86
DW_API_PUBLIC
87
dwStatus
dwLightSourceDetector_bindInput
(
const
dwImageCUDA
* imageRGB,
88
const
dwImageCUDA
* imageBayer,
89
dwLightSourceDetectorHandle_t
obj);
90
97
DW_API_PUBLIC
98
dwStatus
dwLightSourceDetector_bindOutput
(
dwLightSourceDetectorOutput
* output,
99
dwLightSourceDetectorHandle_t
obj);
100
108
DW_API_PUBLIC
109
dwStatus
dwLightSourceDetector_process
(
dwLightSourceDetectorStage
stage,
110
dwLightSourceDetectorHandle_t
obj);
111
112
#ifdef __cplusplus
113
}
114
#endif
115
116
#endif // DW_LIGHTSOURCENET_DETECTOR_PROCESSPIPELINE_H_
DW_LSP_DETECTOR_STAGE_CPU_POSTPROCESS
After inference CPU runs post processing.
Definition:
LspDetector_processPipeline.h:72
LightSourceNet.h
NVIDIA DriveWorks API: LightSourceNet Module
dwLightSourceDetector_bindOutput
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindOutput(dwLightSourceDetectorOutput *output, dwLightSourceDetectorHandle_t obj)
Bind the ouput of the detector to object.
dwLightSourceDetector_bindInput
DW_API_PUBLIC dwStatus dwLightSourceDetector_bindInput(const dwImageCUDA *imageRGB, const dwImageCUDA *imageBayer, dwLightSourceDetectorHandle_t obj)
Binds the input images to the detector.
dwLightSourceDetector_process
DW_API_PUBLIC dwStatus dwLightSourceDetector_process(dwLightSourceDetectorStage stage, dwLightSourceDetectorHandle_t obj)
Perform object detection stages.
LspDetector.h
NVIDIA DriveWorks API: LightSourceDetector Methods
dwImageCUDA
Defines a CUDA image.
Definition:
Image.h:266
Context.h
NVIDIA DriveWorks API: Core Methods
Image.h
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
dwLightSourceDetectorStage
dwLightSourceDetectorStage
Definition:
LspDetector_processPipeline.h:63
DNN.h
NVIDIA DriveWorks API: DNN Methods
dwStatus
dwStatus
Status definition.
Definition:
Status.h:166
DataConditioner.h
NVIDIA DriveWorks API: Data Conditioner Methods
dwLightSourceDetectorOutput
Definition:
LspDetector.h:96
DW_LSP_DETECTOR_STAGE_GPU_PREPROCESS
Input image is preprocessed on GPU side with certain predefined transformations in order to have the ...
Definition:
LspDetector_processPipeline.h:66
DW_LSP_DETECTOR_STAGE_GPU_INFERENCE
DNN inference is run on prepared image.
Definition:
LspDetector_processPipeline.h:69
dwLightSourceDetectorHandle_t
struct dwLightSourceDetectorObject * dwLightSourceDetectorHandle_t
Handle to an object detector.
Definition:
LspDetector.h:65
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition:
Exports.h:56
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | Sun Jun 28 2020 19:15:38 | PR-08397-V5.0