voxelnet icon indicating copy to clipboard operation
voxelnet copied to clipboard

How to draw 3D bounding box on 3d lidar data?

Open chowkamlee81 opened this issue 5 years ago • 3 comments

Kindly help in How to draw 3D bounding box on 3d lidar data using mayavi in voxelnet. Kindly help

chowkamlee81 avatar Oct 12 '18 07:10 chowkamlee81

You can refer this repo: https://github.com/skyhehe123/VoxelNet-pytorch/blob/bfd7be1ca6e5c5b39eece8a4c5fad3ad7b1f7c74/utils.py#L145

hm2092 avatar Oct 12 '18 08:10 hm2092

In the above python code, code uses Camera to lidar coordinate to generate 3D BoBox on pointclouds. In my dataset i had only LIDAR dataset, no input images. Then how to draw plots on 3D LIDAR? Any help will be highly appreciated

chowkamlee81 avatar Oct 12 '18 09:10 chowkamlee81

The above code uses KITTI dataset in which the labels(x, y, z coordinates for bounding box centre) are given in camera coordinates. Thats why it is converted first to lidar coordinate system. If you directly have the corner points of the boxes you need to plot in lidar coordinate system, then you can use the plot3d function in mayavi to draw the box.

hm2092 avatar Oct 12 '18 09:10 hm2092