DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

BlindnessDetector.h File Reference

Detailed Description

NVIDIA DriveWorks API: Blindness Detector Methods

Description: This file defines blindness detector methods which use ClearSightNet.

Definition in file BlindnessDetector.h.

Go to the source code of this file.

Data Structures

struct  dwBlindnessDetectionOutput
 Holds the outputs for ClearSightNet. More...
 
struct  dwBlindnessDetectorParams
 Holds init params for Blindness Detector. More...
 

Macros

#define DW_CLEARSIGHTNET_DETECTOR_MAX_IMAGES   16
 Maximum number of images to run detector on. More...
 
#define DW_CLEARSIGHTNET_MASK_FORMAT   DW_IMAGE_FORMAT_RGBA_UINT8
 Output Mask Format. More...
 
#define DW_CLEARSIGHTNET_MASK_HEIGHT   76
 Output Mask Height. More...
 
#define DW_CLEARSIGHTNET_MASK_TYPE   DW_IMAGE_CUDA
 Output Mask Type. More...
 
#define DW_CLEARSIGHTNET_MASK_WIDTH   120
 Output Mask Width. More...
 
#define DW_CLEARSIGHTNET_NUM_MAX_REGIONS   8
 Number of sub-regions in each direction. More...
 
#define DW_CLEARSIGHTNET_NUM_OUTPUT_CHANNELS   3
 Number of ClearSightNet output channels. More...
 

Typedefs

typedef struct dwBlindnessDetectorObject * dwBlindnessDetectorHandle_t
 Handle to a BlindnessDetector. More...
 

Functions

DW_API_PUBLIC dwStatus dwBlindnessDetector_detect (const dwImageCUDA *inputImage, dwBlindnessDetectorHandle_t handle)
 Runs asynchronous inference using the provided DNN model. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_getCUDAStream (cudaStream_t *stream, dwBlindnessDetectorHandle_t handle)
 Gets CUDA stream used by the Blindness detection. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_getOutput (dwBlindnessDetectionOutput *output, dwBlindnessDetectorHandle_t handle)
 Return a blindness detection output. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_initDefaultParams (dwBlindnessDetectorParams *params)
 Initializes default parameters for Blindness detector module. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_initialize (dwBlindnessDetectorHandle_t *handle, const dwBlindnessDetectorParams *params, dwContextHandle_t ctx)
 Initializes a Blindness detector module. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_release (dwBlindnessDetectorHandle_t handle)
 Releases the Blindness detector module. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_reset (dwBlindnessDetectorHandle_t handle)
 Resets the Blindness detector module. More...
 
DW_API_PUBLIC dwStatus dwBlindnessDetector_setCUDAStream (cudaStream_t stream, dwBlindnessDetectorHandle_t handle)
 Sets the CUDA stream for CUDA related operations. More...