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,
187 dwLandmarkDetectorHandle_t obj);
226 dwLandmarkDetectorHandle_t obj);
329 #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.
dwStatus dwLandmarkDetector_detectLandmarks(dwLaneDetection *lanes, dwLandmarkDetection *landmarks, const dwImageCUDA *frame, dwLandmarkDetectorHandle_t obj)
Very simple API call to do inference on a frame.
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: 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
NVIDIA DriveWorks API: DNN Methods
uint8_t nonMaxSuppressionRadius
radius size for non max suppression calculation
dwStatus
Status definition.
float32_t betaForDistanceInSmoothnessTerm
float32_t minProbZigZagInSmoothnessTerm
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.
struct dwContextObject * dwContextHandle_t
Context handle.
float32_t betaForAnglesInSmoothnessTerm
terms to smooth the curve for regressor net post processing
struct dwCameraModelObject * dwCameraModelHandle_t
A pointer to the handle representing a calibrated camera model.
NVIDIA DriveWorks API: Landmark Detector Methods
float32_t diminishingFactorForNearLineZigZag
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.