47 #ifndef DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_H_ 48 #define DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_H_ 65 #pragma pack(push, 1) // Make sure we have consistent structure packings 170 uint32_t frameHeight,
190 uint32_t frameHeight,
210 dwLandmarkDetectorHandle_t obj);
229 dwLandmarkDetectorHandle_t obj);
268 dwLandmarkDetectorHandle_t obj);
393 #endif // DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_H_ NVIDIA DriveWorks API: Camera Methods
DW_API_PUBLIC dwStatus dwLandmarkDetector_getLandmarkDetections(dwLandmarkDetection *landmarkDetection, dwLandmarkDetectorHandle_t obj)
Gets the general landmark detection in image coordinates.
DW_API_PUBLIC dwStatus dwLandmarkDetector_release(dwLandmarkDetectorHandle_t obj)
Releases the detector module.
float32_t betaForDistanceTerm
NVIDIA DriveWorks API: Core Types
DW_API_PUBLIC dwStatus dwLandmarkDetector_reset(dwLandmarkDetectorHandle_t obj)
Resets the landmark detector module.
float float32_t
Specifies POD types.
Data structure for holding road marking polygon detection parameters.
DW_API_PUBLIC dwStatus dwLandmarkDetector_setCUDAStream(cudaStream_t stream, dwLandmarkDetectorHandle_t obj)
Sets the CUDA stream for CUDA related operations.
struct dwMapNetObject * dwMapNetHandle_t
Handle to a MapNet object.
DW_API_PUBLIC dwStatus dwLandmarkDetector_getRoadmarkDetections(dwRoadmarkDetection *roadmarkDetection, dwLandmarkDetectorHandle_t obj)
Gets the roadmark detection in image coordinates.
DW_API_PUBLIC dwStatus dwLandmarkDetector_getPostProcessingParam(dwLRNPostProcessingParam *param, dwLandmarkDetectorHandle_t obj)
Note: only DW_MAPNET_TYPE_REGRESSOR and DW_MAPNET_TYPE_E2E type networks are supported Get post proce...
dwRect detectionROI
sets the region of interest in an image that is actually processed by the network ...
DW_API_PUBLIC dwStatus dwLandmarkDetector_getDetectionROI(dwRect *roi, dwLandmarkDetectorHandle_t obj)
Get detection Region of Interest (ROI) for the detector.
float32_t unitDist
distance term
The output format of detected line types.
NVIDIA DriveWorks API: AutoNet Module
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwLandmarkDetector_getLaneDetections(dwLaneDetection *lanes, dwLandmarkDetectorHandle_t obj)
Gets the latest computed results in image coordinates.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
uint32_t landmarkTypesEnabled
Bit mask to identify which landmark types are enabled based on the enum dwLandmarkSelectionMask.
dwRoadMarkingPolygonDetectionParam roadMarkingDetectionTerm
struct for roadmarking polygon settings
dwLandmarkSelectionMask
Bitmask enum which enables specific landmark types to detect.
DW_API_PUBLIC dwStatus dwLandmarkDetector_initializeDefaultRegressorParams(dwLRNPostProcessingParam *params)
Note: only DW_MAPNET_TYPE_REGRESSOR and DW_MAPNET_TYPE_E2E type networks are supported Sets the defau...
DW_API_PUBLIC dwStatus dwLandmarkDetector_initializeFromMapNet(dwLandmarkDetectorHandle_t *obj, dwMapNetHandle_t mapnet, dwLandmarkDetectorParams params, uint32_t frameWidth, uint32_t frameHeight, dwContextHandle_t ctx)
Initializes a landmark detector module based on MapNet.
NVIDIA DriveWorks API: MapNet Module
DW_API_PUBLIC dwStatus dwLandmarkDetector_setCamera(dwCameraModelHandle_t camera, const dwTransformation3f *cameraToRig, dwLandmarkDetectorHandle_t obj)
Sets the calibrated camera for projection of lanes and landmarks.
float32_t differentClassPenalty
class difference term
dwStatus dwLandmarkDetector_detectLandmarksAutoNet(dwLaneDetection *lanes, dwLandmarkDetection *landmarks, dwRoadmarkDetection *roadmarks, dwAutoNetOutputHandle_t netOutput, dwLandmarkDetectorHandle_t obj)
Very simple API call to do inference on a frame.
NVIDIA DriveWorks API: DNN Methods
uint8_t nonMaxSuppressionRadius
radius size for non max suppression calculation
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwLandmarkDetector_setROI(dwRect detectionROI, dwLandmarkDetectorHandle_t obj)
Set image ROI for landmark detector.
float32_t betaForDistanceInSmoothnessTerm
float32_t minProbZigZagInSmoothnessTerm
The output of road mark detection and classification.
float32_t minValidDNNMaskThreshold
threshold value from 0-0.99 on what probability is considered a valid network output ...
DW_API_PUBLIC dwStatus dwLandmarkDetector_getCUDAStream(cudaStream_t *stream, dwLandmarkDetectorHandle_t obj)
Gets CUDA stream used by the landmark detection.
DW_API_PUBLIC dwStatus dwLandmarkDetector_initializeDefaultParams(dwLandmarkDetectorParams *params, uint32_t frameWidth, uint32_t frameHeight)
Sets the default detected landmark types for the LandmarkDetector.
bool enableDistanceCorrection
flag to enable distance correction for road marking polygons
DW_API_PUBLIC dwStatus dwLandmarkDetector_setPostProcessingParam(const dwLRNPostProcessingParam param, dwLandmarkDetectorHandle_t obj)
Note: only DW_MAPNET_TYPE_REGRESSOR and DW_MAPNET_TYPE_E2E type networks are supported.
struct dwLandmarkDetectorObject * dwLandmarkDetectorHandle_t
Handle to a LandmarkDetector.
The output format of detected lanes.
dwStatus dwLandmarkDetector_detectLandmarks(dwLaneDetection *lanes, dwLandmarkDetection *landmarks, dwRoadmarkDetection *roadmarks, const dwImageCUDA *frame, dwLandmarkDetectorHandle_t obj)
Very simple API call to do inference on a frame.
struct dwContextObject * dwContextHandle_t
Context handle.
float32_t betaForAnglesInSmoothnessTerm
terms to smooth the curve for regressor net post processing
struct dwAutoNetObject * dwAutoNetHandle_t
Handle to a AutoNet object.
struct dwAutoNetOutputObject * dwAutoNetOutputHandle_t
Handle to a AutoNet output object.
struct dwCameraModelObject * dwCameraModelHandle_t
A pointer to the handle representing a calibrated camera model.
NVIDIA DriveWorks API: Landmark Detector Methods
float32_t diminishingFactorForNearLineZigZag
DW_API_PUBLIC dwStatus dwLandmarkDetector_initializeFromAutoNet(dwLandmarkDetectorHandle_t *obj, dwAutoNetHandle_t autonet, dwLandmarkDetectorParams params, uint32_t frameWidth, uint32_t frameHeight, dwContextHandle_t ctx)
Initializes a landmark detector module based on AutoNet.
bool enableRoadMarkingPolygons
flag to enable road marking polygons
float32_t minProbAnglesInSmoothnessTerm
Data structure holding post processing parameters.
uint8_t minimumVotesThreshold
Set a minimum votes for points extractions in post processing.