Get points of bounding box

Hello,

Is there any method which returns the points lying in a specific bounding box or have you labeled the points given their annotations, for example car/truck?

Thanks in advance.

Hi,
the method does not exist, but should be quite easy to implement using the fast points_in_box method: https://github.com/nutonomy/nuscenes-devkit/blob/master/python-sdk/nuscenes/utils/geometry_utils.py#L111
Note however that running this on the entire dataset would be quite slow as every single pointcloud must be loaded.

1 Like