NVIDIA DriveWorks API: ObjectDetector Methods
Description: This file defines ObjectDetector methods.
Definition in file ObjectDetector.h.
|
DW_API_PUBLIC dwStatus | dwObjectDetector_clearOutputMask (dwObjectClass objectClass, dwObjectDetectorHandle_t obj) |
| Clears output mask. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_detectObjects (dwObjectArray *detections, const dwImageCUDA *image, dwObjectDetectorHandle_t obj) |
| Detects objects from the given input image. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_getCoverageThreshold (float32_t *covThreshold, dwObjectClass objectClass, dwObjectDetectorHandle_t obj) |
| Get coverage threshold for a given class. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_getCUDAStream (cudaStream_t *stream, dwObjectDetectorHandle_t obj) |
| Gets the CUDA stream used. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_getOutputMaskDimensions (uint32_t *width, uint32_t *height, dwObjectDetectorHandle_t obj) |
| Returns output mask dimensions. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_getROI (dwRect *ROI, dwTransformation2f *outputToObject, uint32_t imageIdx, dwObjectDetectorHandle_t obj) |
| Returns the region of interest and the 2D transformation from the image coordinate system to object coordinate system at given index. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_initDefaultParams (dwObjectDetectorParams *detectorParams) |
| Initializes ObjectDetector parameters with default values. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_initializeFromDriveNet (dwObjectDetectorHandle_t *obj, const dwObjectDetectorParams *detectorParams, dwDriveNetHandle_t drivenet, dwContextHandle_t ctx) |
| Initializes ObjectDetector module with a DriveNet module. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_isDistanceEnabled (bool *enabled, dwObjectDetectorHandle_t obj) |
| Returns a boolean indicating whether DNN distance output is enabled. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_isFuseObjectsEnabled (bool *enabled, dwObjectDetectorHandle_t obj) |
| Returns a boolean indicating whether object fusing is enabled. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_isObjectDepthEnabled (bool *enabled, dwObjectDetectorHandle_t obj) |
| Returns a boolean indicating whether object depth output is enabled. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_isObjectUrgencyEnabled (bool *enabled, dwObjectDetectorHandle_t obj) |
| Returns a boolean indicating whether DNN urgency output is enabled. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_release (dwObjectDetectorHandle_t obj) |
| Releases the ObjectDetector module. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_reset (dwObjectDetectorHandle_t obj) |
| Resets ObjectDetector. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_setCoverageThreshold (float32_t covThreshold, dwObjectClass objectClass, dwObjectDetectorHandle_t obj) |
| Set coverage threshold for a given class. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_setCUDAStream (cudaStream_t stream, dwObjectDetectorHandle_t obj) |
| Sets the CUDA stream used. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_setEnableFuseObjects (bool enable, dwObjectDetectorHandle_t obj) |
| Enables or disables objectFusing. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_setOutputMask (const uint8_t *mask, uint32_t maskWidth, uint32_t maskHeight, dwObjectClass objectClass, dwObjectDetectorHandle_t obj) |
| Set output mask. More...
|
|
DW_API_PUBLIC dwStatus | dwObjectDetector_setROI (uint32_t imageIdx, const dwRect *ROI, const dwTransformation2f *outputToObject, dwObjectDetectorHandle_t obj) |
| Sets the region of interest for an image at given index, and the 2D transformation from the image coordinate system to object coordinate system. More...
|
|