anatools.annotations.convert_kitti module¶
- convert_kitti(datadir, labeldir, mapfile)¶
Generate annotations in KITTI format. Result will be placed in labeldir.
- Parameters
datadir (str) – Location of Rendered.ai dataset output.
labeldir (str) – Location where the results should be written.
mapfile (str) – The map file used for annotations (YAML only).
- kitti_label(cat, objann, image_size, metadata)¶
Create a KITTI label for an object. # Support perspective / rectilinear projections as well as orthographic projections
Kitti label format: - https://docs.nvidia.com/metropolis/TLT/archive/tlt-20/tlt-user-guide/text/preparing_data_input.html - https://github.com/bostondiditeam/kitti/blob/master/resources/devkit_object/readme.txt