mileyan / pseudo_lidar

(CVPR 2019) Pseudo-LiDAR from Visual Depth Estimation: Bridging the Gap in 3D Object Detection for Autonomous Driving
https://mileyan.github.io/pseudo_lidar/
MIT License
976 stars 216 forks source link

Hi, I am kinda confused about pseudo lidar points from depth map ? #12

Open nile649 opened 5 years ago

nile649 commented 5 years ago

can I use depth map from any architecture to create pseudo lidar points? GT lidar points are required to train model to predict pseudo lidar points from generated depth map?

mileyan commented 5 years ago

Yes, you can I use depth map from any architecture to create pseudo lidar points. But if you fine tune your model on the KITTI training set LIDAR points, you will get a better result. But the difference should be less than 5%.

nile649 commented 5 years ago

My question is how can I create pseudo lidar points, if I don't have velodyne ground truth for the training dataset. I am planning to test on custom dataset. Thanks

mileyan commented 5 years ago

You need the calib, image_2(left image) and image_3(right image) folders. And you need to generate the calibration files as the same format as KITTI object detection dataset.

ghost commented 4 years ago

@mileyan so when using a custom dataset, what transformation matrix should I use for Tr_velo_to_cam in the absence of any LiDAR device at all?

EDIT: Sorry, wasn't thinking clearly last night! It's just a rotation and translation matrix. So would need to figure out where my camera would be relative road surface and camera2 on KITTI, then translate it to the KITTI LiDAR position. Correct?