DriveWorks SDK Reference

| 0.6.67 Release

FreeSpaceDetector.h File Reference

Detailed Description

NVIDIA DriveWorks API: Free Space Detector Methods

Description: This file defines free space detection methods.

Definition in file FreeSpaceDetector.h.

Go to the source code of this file.

Data Structures

struct  dwFreeSpaceDetection
 Holds the defintion of a boundary in one image. More...
 

Typedefs

typedef struct dwFreeSpaceDetectorObject * dwFreeSpaceDetectorHandle_t
 Handle to a DataConditioner. More...
 

Enumerations

enum  dwFreeSpaceBoundaryType {
  DW_BOUNDARY_TYPE_OTHER = 0,
  DW_BOUNDARY_TYPE_CURB = 1,
  DW_BOUNDARY_TYPE_VEHICLE = 2,
  DW_BOUNDARY_TYPE_PERSON = 3,
  DW_BOUNDARY_TYPE_UNDEFINED = 4
}
 Category of free space boundary. More...
 

Functions

DW_API_PUBLIC dwStatus dwFreeSpaceDetector_getBoundaryDetection (dwFreeSpaceDetection *boundary, dwFreeSpaceDetectorHandle_t obj)
 Gets the latest computed results. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_getCUDAStream (cudaStream_t *stream, dwFreeSpaceDetectorHandle_t obj)
 Gets CUDA stream used by the free space detection. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_getDetectionROI (dwRect *roi, dwFreeSpaceDetectorHandle_t obj)
 Gets the detection Region of Interest (ROI) for the detector. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_getDNNMetaData (dwDNNMetaData *metaData, dwFreeSpaceDetectorHandle_t obj)
 Returns the DNN metadata. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_initializeCalibratedFreeSpaceNet (dwFreeSpaceDetectorHandle_t *obj, uint32_t frameWidth, uint32_t frameHeight, cudaStream_t stream, dwTransformation cam2rig, float32_t maxDistance, dwCalibratedCameraHandle_t cam, dwContextHandle_t ctx)
 Initializes a free space detector module based on FreeSpaceNet with a calibrated camera. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_initializeFreeSpaceNet (dwFreeSpaceDetectorHandle_t *obj, uint32_t frameWidth, uint32_t frameHeight, cudaStream_t stream, dwContextHandle_t ctx)
 Initializes a free space detector module based on FreeSpaceNet. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_interpretHost (dwFreeSpaceDetectorHandle_t obj)
 Runs the interpretation of the processed results on the CPU. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_processDeviceAsync (const dwImageCUDA *frame, dwFreeSpaceDetectorHandle_t obj)
 Processes the given frame on the GPU asynchronously. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_release (dwFreeSpaceDetectorHandle_t *obj)
 Releases the detector module. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_reset (dwFreeSpaceDetectorHandle_t obj)
 Resets the free space detector module. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_setCUDAStream (cudaStream_t stream, dwFreeSpaceDetectorHandle_t obj)
 Sets the CUDA stream for CUDA related operations. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_setDetectionROI (const dwRect *roi, dwFreeSpaceDetectorHandle_t obj)
 Sets the detection Region of Interest (ROI) for the detector. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_setSpatialSmoothFilterWidth (uint32_t width, dwFreeSpaceDetectorHandle_t obj)
 Sets the spatial smoothing filter width. More...
 
DW_API_PUBLIC dwStatus dwFreeSpaceDetector_setTemporalSmoothFactor (float32_t factor, dwFreeSpaceDetectorHandle_t obj)
 Sets the temporal smoothing factor. More...