Easonyesheng / CCS

[RA-L&IROS22] A learning-based camera calibration system.
MIT License
31 stars 2 forks source link

How to train? #13

Closed xuefeng1130 closed 3 months ago

xuefeng1130 commented 6 months ago
image

How to set the parameters appropriately? Which one to use for the training dataset?

xuefeng1130 commented 6 months ago

To train our networks, we generate massive chessboard images (480 × 480) with ground truth corner heatmaps and camera parameters (focal length, principal points and scale) in pixel (100 ≤ fx, fy ≤ 300; 120 ≤ px, py ≤ 360; 1 ≤ s ≤ 5). Moreover, noise, bad lighting, distortion and fake background using TUM dataset [31] are applied as data augmentation. Specifically, the image distortion level is decided by parameters k0, k1 and k2.

How do I generate the chessboard image (480*480) and which version of TUM dataset to download and what to do with it? I didn't understand the steps of training, please give me some help, thanks!

xuefeng1130 commented 6 months ago
image image

Are these paths set up correctly for me? What does each path do? Is it a 480*480 image that I need to provide? How many? What about the TUM dataset?

Easonyesheng commented 5 months ago

bg_img_list is the path list of background images, which is used as the background of generated checkerboard images. These background images are resized to the fix size of generated image (like 480x480). In our paper, we use the images in TUM dataset as the background images. In practices, you can use your own background image which should be close to your calibration environment.

xuefeng1130 commented 3 months ago

这是来自QQ邮箱的自动回复邮件。 您好,我的邮箱已接收到您发来的邮件。待我处理后给您回复。