NVIDIA DriveWorks API: PathNet Detector Methods
Description: This file defines path detection methods.
Definition in file PathDetector.h.
|
DW_API_PUBLIC dwStatus | dwPathDetector_detectPaths (dwPathDetection *paths, const dwImageCUDA *frame, dwPathDetectorHandle_t obj) |
| Processes the given frame on the GPU asynchronously, runs the interpretation of the processed results on the CPU, and gets the latest computed results. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_detectPathsAutoNet (dwPathDetection *paths, dwAutoNetOutputHandle_t input, dwPathDetectorHandle_t obj) |
| Detects paths from the given DNN inference output. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getComputeCenterRailFrom3D (bool *computeCenterRailFrom3D, dwPathDetectorHandle_t obj) |
| Get the flag to compute 3D center rail from 3D path edges. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getCUDAStream (cudaStream_t *stream, dwPathDetectorHandle_t obj) |
| Gets CUDA stream used by the path detection. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getDetectionROI (dwRect *roi, dwPathDetectorHandle_t obj) |
| Get detection Region of Interest (ROI) for the detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getDetectionThreshold (float32_t *threshold, dwPathDetectorHandle_t obj) |
| Gets the detection confidence threshold for the PathNet based detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getDNNMetaData (dwDNNMetaData *metaData, dwPathDetectorHandle_t obj) |
| Returns the DNN metadata. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getOppositeTrafficDetectionThreshold (float32_t *threshold, dwPathDetectorHandle_t obj) |
| Gets the opposite traffic path attribute confidence threshold for the PathNet based detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getPathDetections (dwPathDetection *paths, dwPathDetectorHandle_t obj) |
| Gets the latest computed results in image coordinates. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getTemporalSmoothingFactor (float32_t *factor, dwPathDetectorHandle_t obj) |
| Gets the temporal smoothing factor from Path detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_getUseFovea (bool *useFovea, dwPathDetectorHandle_t obj) |
| Get fovea processing mode. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_initializeFromAutoNet (dwPathDetectorHandle_t *obj, dwAutoNetHandle_t autonet, uint32_t frameWidth, uint32_t frameHeight, cudaStream_t stream, dwContextHandle_t ctx) |
| Initializes a path detector module based on AutoNet. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_initializeFromPathNet (dwPathDetectorHandle_t *obj, dwPathNetHandle_t pathnet, uint32_t frameWidth, uint32_t frameHeight, dwPathDetectorFoveaParams foveaParams, cudaStream_t stream, dwContextHandle_t ctx) |
| Initializes a path detector module based on PathNet. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_initializeFromPathNetWithCameraRig (dwPathDetectorHandle_t *obj, dwPathNetHandle_t pathnet, uint32_t frameWidth, uint32_t frameHeight, dwPathDetectorFoveaParams foveaParams, dwCameraModelHandle_t cam, dwTransformation3f cam2rig, cudaStream_t stream, dwContextHandle_t ctx) |
| Initializes a path detector module based on PathNet with camera rig parameters. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_interpretHost (dwPathDetectorHandle_t obj) |
| Runs the interpretation of the processed results on the CPU. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_processDeviceAsync (const dwImageCUDA *frame, dwPathDetectorHandle_t obj) |
| Processes the given frame on the GPU asynchronously. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_release (dwPathDetectorHandle_t obj) |
| Releases the detector module. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_reset (dwPathDetectorHandle_t obj) |
| Resets the path detector module. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setCameraExtrinsics (const dwTransformation3f *cam2Rig, dwPathDetectorHandle_t obj) |
| Sets new calibrated camera extrinsic. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setComputeCenterRailFrom3D (bool computeCenterRailFrom3D, dwPathDetectorHandle_t obj) |
| Set the flag to compute 3D center rail from 3D path edges. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setCUDAStream (cudaStream_t stream, dwPathDetectorHandle_t obj) |
| Sets the CUDA stream for CUDA related operations. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setDetectionROI (const dwRect *roi, dwPathDetectorHandle_t obj) |
| Set detection Region of Interest (ROI) for the detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setDetectionThreshold (float32_t threshold, dwPathDetectorHandle_t obj) |
| Sets the detection confidence threshold for the PathNet based detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setOppositeTrafficDetectionThreshold (float32_t threshold, dwPathDetectorHandle_t obj) |
| Sets the opposite traffic detection confidence threshold for the PathNet based detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setTemporalSmoothingFactor (float32_t factor, dwPathDetectorHandle_t obj) |
| Sets the temporal smoothing factor for the Path detector. More...
|
|
DW_API_PUBLIC dwStatus | dwPathDetector_setUseFovea (bool useFovea, dwPathDetectorHandle_t obj) |
| Set fovea processing mode. More...
|
|