kuixu / kitti_object_vis

KITTI Object Visualization (Birdview, Volumetric LiDar point cloud )
MIT License
1.06k stars 231 forks source link

error occured when run "python kitti_object.py --show_lidar_with_depth --img_fov --const_box --vis --pc_label" #35

Closed qingzi02010 closed 3 years ago

qingzi02010 commented 4 years ago

the shape of the velodyne data is n*4, so error occurred when running "scan.reshape((-1, n_vec))". Here n_vec=5, caused by the if args.pc_label: n_vec = 5
image

kuixu commented 3 years ago
$ python kitti_object.py --show_lidar_with_depth --img_fov --const_box --vis --pc_label

--pc_label: Show LiDAR with modified LiDAR file with an additional point cloud label/marker as the 5th dimension(5 vectors: x, y, z, intensity, pc_label). (This option is for the very specific case. If you don't have this type of data, don't use this option).