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

The label.box.heading is not correct as visulizing in Open3D GUI. #30

Closed
zeng-hello-world opened this issue Sep 9, 2019 · 2 comments
Closed

Comments

@zeng-hello-world
Copy link

zeng-hello-world commented Sep 9, 2019

I extracted out only the LiDAR label bounding box and visualized in Open3D GUI. It looks like as follow, but all the bboxes heading angle are verticle to their correct direction.
Screenshot from 2019-09-09 10-38-11
Thus, I add pi/2 to each heading, and it sames to be coorect, but I still don't know why.
Screenshot from 2019-09-09 10-44-51

@peisun1115
Copy link
Contributor

peisun1115 commented Sep 9, 2019

I do not know what Open3D GUI expects. The heading we provide is the angle required to rotate +x (vehicle frame) to the surface normal of the front face of the labeled box.

Also make sure you interpret length/width properly. https://github.com/waymo-research/waymo-open-dataset/blob/master/waymo_open_dataset/label.proto#L28-L35

@zeng-hello-world
Copy link
Author

zeng-hello-world commented Sep 10, 2019

I mistook the order of length and width.

    // Box coordinates in vehicle frame.
    optional double center_x = 1;
    optional double center_y = 2;
    optional double center_z = 3;

    // Dimensions of the box. length: dim x. width: dim y. height: dim z.
    optional double length = 5;   
    optional double width = 4;
    optional double height = 6;

Thanks a lot!

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