Radar-Camera Calibration
Overview: Deepen Calibrate is a software tool that makes the critical task of sensor data calibration simple and quick.

1. Calibrations:

  • This page allows the users to create, list, launch and delete calibration datasets. Admins can manage user's access to these datasets on this page.
  • Click on ‘New Calibration’ to create a new calibration dataset.

2. Calibration Selection:

  • Upon clicking the ‘New Calibration’ button, the user can make a selection from the different calibrations. Select ‘Radar-Camera Calibration’ to create a new radar-camera calibration dataset.

3. Calibration Instructions Page:

  • Upon selecting ‘Radar-Camera Calibration’, the user is welcomed to the instructions page
  • Click on ‘Get started’ after finishing with the instructions. A pop-up is displayed that asks for:
  1. 1.
    Dataset name
  2. 2.
    Edge length of the reflector
  3. 3.
    Configuration of the checkerboard
The user must fill in all the mandatory fields and click on ‘Set Details’ to proceed ahead.
The user can also choose to add the configuration by uploading a JSON file if required. Please check the Steps to upload the configuration by JSON file section for more details.

4. Calibration Pipeline:

Radar-Camera Calibration consists of two stages:
  • Radar Camera setup: Add camera details, files, and reflector coordinates.
  • Detect corners: Detect the checkerboard corners in each image.
  • Calibrate: Run the calibration algorithm and visualise the results.
A few other details
👍
  1. 1.
    The user can choose to hit the ‘Save changes’ option at any stage to prevent loss of work.
  2. 2.
    The user can navigate between the stages and update the details as per convenience.
  3. 3.
    Download the results by using the ‘Export’ option.
  4. 4.
    Click on the ‘Help Center’ button ( the top right corner) to get your doubts answered related to the calibration.

4.1 Radar Camera Setup:

This stage is broadly categorised into three steps:
  • Setup Camera Intrinsics: Add/upload your camera’s intrinsic parameters. The user can click on ‘Get intrinsic parameters’ to calibrate the camera.
  • Add files: Upload the files captured using the camera.
  • Add reflector coordinates: Enter the coordinates of the reflector captured using radar.
To move on to the calibration stage, complete the radar-camera setup and then click on continue.

4.2 Detect corners:

Users can click on the 'Detect corners' button. We try to auto-detect most of the corners, if the checkerboard corners detection fails user can add four border markers to detect all the inner checkerboard corners.
Users can select four boundary marker points in the order (top-left, top-right, bottom-left, bottom-right). And then click on the 'Detect corners' button, to get the remaining inner corners of the checkerboard.

4.3 Calibrate:

The user can review the files and camera intrinsics here before hitting the ‘calibrate’ button.​​ This may take up to 1-2 minutes for us to get accurate results, depending on the quality and number of image files.
Validate the results in Visualize mode and mark the calibration process as complete. These extrinsic, camera intrinsics and error parameters can be exported by using the ‘Export’ option.
Please note that :
  1. 1.
    The visualization renders calibration results both in 2D and 3D.
  2. 2.
    The reprojection error rate gives the mean distance error between points in 2D.
  3. 3.
    The translational error rate gives the mean distance error between points in 3D.
5. Extrinsic Calibration Output:
  • roll, pitch, yaw, px, py, pz are the extrinsic parameters downloaded from the calibration tool.
  • reflectorPointsInRadar is the 3d coordinates of the reflector in the radar coordinate system.
  • reflectorPointsInCamera is the 3d coordinates of the reflector in the camera coordinate system.

Steps to upload the configuration by JSON file :

  1. 1.
    Click on get started.
  2. 2.
    Click on the import config button in the top right corner of the modal.
  3. 3.
    Upload the JSON config file.
Getting started modal showing upload config option in the top right corner.
We process the config file and give users the option to select all or specific configs. Once the user clicks on done, the config is saved with us and the user doesn’t have to type anything else.
Parsed uploaded JSON config data
The only user input remaining now will be uploading images.
Important note: While uploading images, please keep in mind that the file name must be exactly the same as that mentioned in the JSON config file, else the user won’t see radar positions in the UI, and the user has to manually enter the radar positions.
If user want to skip some parent keys ["name", "type", "approach", "version", "sensors", "targets", "data"] they can skip it. Eg: if, user want to just enter radar position, then they can just add data section and skip all other keys. Keep in mind that you can only skip parent level keys and not nested keys.
JSON config with Description
1
{
2
// Name of the calibration datasets.
3
"name": "radar camera",
4
// Type of the calibration.
5
"type": "radar_camera_calibration",
6
// Calibration approach type.
7
"approach": "target",
8
// Config version, defaults to 1.
9
"version": 1,
10
// List of sensors.
11
"sensors": [
12
{
13
// Type of sensor: [camera, radar]
14
"type": "camera",
15
// Name of sensor
16
"name": "camera1"
17
// Camera lens type: pinhole/fisheye,
18
"lens_model": "pinhole",
19
"intrinsics": {
20
"fx": 3092.1424896390727,
21
"fy": 3086.110800366092,
22
"cx": 1962.4427444227433,
23
"cy": 1484.0856987530365,
24
"distortion": {
25
"is_enabled": true,
26
"k1": 0.066861015025329,
27
"k2": -0.2939800579680618,
28
"k3": 0.27962457717517547,
29
"p1": -0.000008687426909951295,
30
"p2": 0.00009712594960396621
31
}
32
}
33
},
34
{
35
"type": "radar",
36
"name": "5mm radar"
37
}
38
],
39
// List of targets used in the calibration
40
"targets": [
41
{
42
"type": "trihedral_corner_reflector",
43
"edge_length": 0.1
44
},
45
{
46
"type": "checkerboard",
47
"square_dimension": 0.1,
48
"thickness": 0.03,
49
"horizontal_corners": 9,
50
"vertical_corners": 5,
51
"padding": {
52
"top": 0.1,
53
"right": 0.1,
54
"bottom": 0.1,
55
"left": 0.1
56
}
57
}
58
],
59
// Any misc. data
60
"data": {
61
// File specific data
62
"file_data": [
63
{
64
// Uploaded file name
65
"file_name": "1.jpg",
66
// Radar position
67
"position": {
68
"x": -0.0354,
69
"y": 1.1188,
70
"z": 0.1833
71
}
72
},
73
{
74
"file_name": "2.jpg",
75
"position": {
76
"x": 0,
77
"y": 1.0353,
78
"z": 0.1565
79
}
80
}
81
]
82
}
83
}
84
Copied!
Radar-Camera_Sample.json
2KB
Code
Export as PDF
Copy link
Contents