48 #ifndef DW_LIGHTSOURCENET_DETECTOR_H_ 49 #define DW_LIGHTSOURCENET_DETECTOR_H_ 157 dwLightSourceDetectorHandle_t obj);
200 #endif // DW_LIGHTSOURCENET_DETECTOR_H_ float float32_t
Specifies POD types.
NVIDIA DriveWorks API: LightSourceNet Module
DW_API_PUBLIC dwStatus dwLightSourceDetector_initDefaultParams(dwLightSourceDetectorParams *detectorParams)
Initializes LightSourceDetector parameters with default values.
struct dwLightSourceNetObject * dwLightSourceNetHandle_t
Handle to a LightSourceNet object.
Car (or other road user with active light)
bool enablePostProcCPUTest
Enable CPU post processing code for sanity/unit test or not. Default off.
uint32_t glareThreshold
Glare detection threshold (in bayer pixel value)
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
bool flag
High beam ON/OFF binary flag.
DW_API_PUBLIC dwStatus dwLightSourceDetector_setCUDAStream(cudaStream_t stream, dwLightSourceDetectorHandle_t obj)
Sets the CUDA stream used.
DW_API_PUBLIC dwStatus dwLightSourceDetector_getCUDAStream(cudaStream_t *stream, dwLightSourceDetectorHandle_t obj)
Gets the CUDA stream used.
NVIDIA DriveWorks API: DNN Methods
dwStatus
Status definition.
NVIDIA DriveWorks API: Data Conditioner Methods
dwRect ROI
Region of interest for each image at the corresponding index.
DW_API_PUBLIC dwStatus dwLightSourceDetector_initialize(dwLightSourceDetectorHandle_t *obj, dwLightSourceNetHandle_t lspnet, const dwLightSourceDetectorParams *detectorParams, dwContextHandle_t ctx)
Initializes LightSourceDetector module with a LightSourceNet module.
DW_API_PUBLIC dwStatus dwLightSourceDetector_release(dwLightSourceDetectorHandle_t obj)
Releases the LightSourceDetector module.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwLightSourceDetector_processLightSourcePipeline(dwLightSourceDetectorOutput *output, const dwImageCUDA *imgRGB, const dwImageCUDA *imgBayer, dwLightSourceDetectorHandle_t obj)
Provided input images, execute Light Source Perception pipeline, returning output immediately...
dwLightSourceDetectorClass
struct dwLightSourceDetectorObject * dwLightSourceDetectorHandle_t
Handle to an object detector.