45 #ifndef DW_PARKNET_DETECTOR_H_ 46 #define DW_PARKNET_DETECTOR_H_ 60 #define DW_PARK_DETECTION_MAX_COUNT 5000 61 #define DW_PARK_DETECTION_N_COORDINATES_2D 8 62 #define DW_PARK_DETECTION_N_COORDINATES_3D 12 243 #endif // DW_PARKNET_DETECTOR_H_ NVIDIA DriveWorks API: Camera Methods
DW_API_PUBLIC dwStatus dwParkNetDetector_setCameraExtrinsics(dwTransformation3f cam2rig, dwParkNetDetectorHandle_t obj)
Set the transformation from camera to rig.
float float32_t
Specifies POD types.
DW_API_PUBLIC dwStatus dwParkNetDetector_release(dwParkNetDetectorHandle_t obj)
Releases the ParkNetDetector module.
struct dwParkNetObject * dwParkNetHandle_t
Handle to a ParkNet object.
NVIDIA DriveWorks API: World Module
DW_API_PUBLIC dwStatus dwParkNetDetector_setCUDAStream(const cudaStream_t stream, dwParkNetDetectorHandle_t obj)
Sets the CUDA stream used.
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
dwCameraModelHandle_t cam
Calibrated camera handle.
uint32_t maxNumImages
Maximum number of images (cannot be larger than DW_DETECTOR_MAX_IMAGES). Default is 1...
float32_t scaleOriginalToInput
Image size ratio.
NVIDIA DriveWorks API: DNN Methods
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwParkNetDetector_interpret(dwParkNetDetectorHandle_t obj)
Output of the inference (dwObjectDetector_inferDeviceAsync) is interpreted to get the list of object ...
NVIDIA DriveWorks API: Data Conditioner Methods
#define DW_PARK_DETECTION_N_COORDINATES_2D
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
struct dwParkNetDetectorObject * dwParkNetDetectorHandle_t
Handle to a ParkNet-based detector object.
DW_API_PUBLIC dwStatus dwParkNetDetector_reset(dwParkNetDetectorHandle_t obj)
Resets ParkNetDetector.
DW_API_PUBLIC dwStatus dwParkNetDetector_inferDeviceAsync(dwParkNetDetectorHandle_t obj)
Runs inference using the provided DNN model.
NVIDIA DriveWorks API: ParkNet Module
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwParkNetDetector_initializeFromParkNet(dwParkNetDetectorHandle_t *obj, const dwParkNetDetectorParams *detectorParams, dwParkNetHandle_t parknet, dwContextHandle_t ctx)
Initializes ParkNetDetector module with a ParkNet module.
#define DW_PARK_DETECTION_MAX_COUNT
struct dwCameraModelObject * dwCameraModelHandle_t
A pointer to the handle representing a calibrated camera model.
DW_API_PUBLIC dwStatus dwParkNetDetector_getCUDAStream(cudaStream_t *stream, dwParkNetDetectorHandle_t obj)
Gets the CUDA stream used.
#define DW_PARK_DETECTION_N_COORDINATES_3D
DW_API_PUBLIC dwStatus dwParkNetDetector_getParkDetections(dwParkDetection *parkingSpaces, dwParkNetDetectorHandle_t obj)
Return the interpreted output.
dwRect ROI
to have the right size for DNN. Default ROI is the whole image.
dwTransformation3f cam2Rig
Camera to rig transformation matrix.
DW_API_PUBLIC dwStatus dwParkNetDetector_initDefaultParams(dwParkNetDetectorParams *detectorParams)
Initializes ParkNetDetector parameters structure with default values.