Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

velodyne project to image not correct #5

Open
zhanghm1995 opened this issue Nov 18, 2018 · 1 comment
Open

velodyne project to image not correct #5

zhanghm1995 opened this issue Nov 18, 2018 · 1 comment

Comments

@zhanghm1995
Copy link

Hi, thanks for your sharing code first.
However, when I try your code to realize the velodyne cloud points projection to image, I found there are mismatch between the cloud points and the corresponding image object, such as the cyclist of "2011_09_26_drive_0005_sync" dataset.
2018-11-18 15-17-26
You can see the points cloud of the cyclist go through the side car.
I don't know why, maybe the original calibration matrix is not correct? Or the calculation is not right, because I am not understand the calibration matrix very well in "calib_cam_to_cam.txt".
Thanks!

@linbaiwpi
Copy link

Hi, thanks for your sharing code first.
However, when I try your code to realize the velodyne cloud points projection to image, I found there are mismatch between the cloud points and the corresponding image object, such as the cyclist of "2011_09_26_drive_0005_sync" dataset.
2018-11-18 15-17-26
You can see the points cloud of the cyclist go through the side car.
I don't know why, maybe the original calibration matrix is not correct? Or the calculation is not right, because I am not understand the calibration matrix very well in "calib_cam_to_cam.txt".
Thanks!

It's hard to say before looking at your code. But I guess it might be the problem is glob.glob. It may not return your desired result. You could check by simply print the result.
To solve this, you may want to use os.listdir function and then .sort() method to make sure all the files are in the increasing order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants