DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

LspDetector.h File Reference

Detailed Description

NVIDIA DriveWorks API: LightSourceDetector Methods

Description: This file defines LightSourceDetector methods.

Definition in file LspDetector.h.

Go to the source code of this file.

Data Structures

struct  dwLightSourceDetectorAutoBeamStatus
 
struct  dwLightSourceDetectorMask
 DNN Raw detection mask. More...
 
struct  dwLightSourceDetectorParams
 

Typedefs

typedef struct dwLightSourceDetectorObject * dwLightSourceDetectorHandle_t
 Handle to an object detector. More...
 

Enumerations

enum  dwLightSourceDetectorClass {
  DW_LIGHTSOURCE_CLASS_CAR = 0,
  DW_LIGHTSOURCE_CLASS_STREET_LIGHT = 1,
  DW_LIGHTSOURCE_CLASS_OTHER_LIGHT = 2,
  DW_LIGHTSOURCE_CLASS_COUNT = 3
}
 

Functions

dwStatus dwLightSourceDetector_detectAutoNet (dwLightSourceDetectorAutoBeamStatus *beamStatus, dwLightSourceDetectorMask *mask, const dwImageCUDA *imgBayer, dwAutoNetOutputHandle_t netOutput, dwLightSourceDetectorHandle_t obj)
 Very simple API call to do inference on a frame. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_getCUDAStream (cudaStream_t *stream, dwLightSourceDetectorHandle_t obj)
 Gets the CUDA stream used. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_initDefaultParams (dwLightSourceDetectorParams *detectorParams)
 Initializes LightSourceDetector parameters with default values. More...
 
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. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_initializeFromAutoNet (dwLightSourceDetectorHandle_t *obj, dwAutoNetHandle_t autonet, const dwLightSourceDetectorParams *detectorParams, dwContextHandle_t ctx)
 Initializes LightSourceDetector module with a LightSourceNet module. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_processLightSourcePipeline (dwLightSourceDetectorAutoBeamStatus *output, const dwImageCUDA *imgRGB, const dwImageCUDA *imgBayer, dwLightSourceDetectorHandle_t obj)
 Provided input images, execute Light Source Perception pipeline, returning output immediately. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_release (dwLightSourceDetectorHandle_t obj)
 Releases the LightSourceDetector module. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_reset (dwLightSourceDetectorHandle_t obj)
 Resets the LightSourceDetector module. More...
 
DW_API_PUBLIC dwStatus dwLightSourceDetector_setCUDAStream (cudaStream_t stream, dwLightSourceDetectorHandle_t obj)
 Sets the CUDA stream used. More...