The Parking Space Perception module detects available parking spaces from images taken by a single camera. It also identifies entry lines into parking spaces. The NVIDIA proprietary DNN named ParkNet returns an array of objects each constituting an available parking space. A parking space object is represented by the coordinates of four corners of a quadrilateral shape. One side of such quadrilateral shape is classified as an entry line. The ParkNet DNN infers parking spaces in the image coordinates. Using the extrinsic parameters of the camera within the sensor-rig and a flat-ground assumption, this module converts the image-based coordinates of the quadrilateral shape into 3D-world space coordinates. This can then be used by other modules within the DriveWorks software stack.
The included data structures are as follows:
dwParkObject
, which defines a single parking space object.dwParkDetection
, which defines the output of the inference from a single camera frame.dwParkNetDetectorParams
, which defines parameters of the parking space detector module such as camera extrinsics, image resolution and others.