module documentation
Utilities for working with datasets in KITTI format.
Class |
|
Class for writing annotations in KITTI detection format. |
Class |
|
Exporter that writes KITTI detection datasets to disk. |
Class |
|
Importer for KITTI detection datasets stored on disk. |
Function | download |
Downloads the KITTI object detection dataset from the web. |
Function | download |
Downloads and prepares the multiview KITTI dataset. |
Function | load |
Loads the KITTI detection annotations from the given TXT file. |
Variable | logger |
Undocumented |
Variable | o3d |
Undocumented |
Function | _convert |
Undocumented |
Function | _do |
Undocumented |
Function | _download |
Undocumented |
Function | _load |
Undocumented |
Function | _load |
Undocumented |
Function | _make |
Undocumented |
Function | _normalize |
Undocumented |
Function | _parse |
Undocumented |
Function | _prepare |
Undocumented |
Function | _proj |
Undocumented |
Function | _roty |
Undocumented |
Function | _swap |
Undocumented |
Function | _write |
Undocumented |
Constant | _CALIB |
Undocumented |
Constant | _LABELS |
Undocumented |
Constant | _LEFT |
Undocumented |
Constant | _RIGHT |
Undocumented |
Constant | _VELODYNE |
Undocumented |
def download_kitti_detection_dataset(dataset_dir, splits=None, scratch_dir=None, overwrite=False, cleanup=False):
(source)
¶
Downloads the KITTI object detection dataset from the web.
The dataset will be organized on disk in as follows:
dataset_dir/ train/ data/ 000000.png 000001.png ... labels/ 000000.txt 000001.txt ... test/ data/ 000000.png 000001.png ...
Parameters | |
dataset | the directory in which to construct the dataset |
splits:None | the split or list of splits to download. Supported values are ("train", "test") |
scratchNone | a scratch directory to use to download any necessary temporary files |
overwrite:False | whether to redownload the zips if they already exist |
cleanup:False | whether to delete the downloaded zips and scratch directory |
def download_kitti_multiview_dataset(dataset_dir, splits=None, scratch_dir=None, overwrite=False, cleanup=False, num_workers=None):
(source)
¶
Downloads and prepares the multiview KITTI dataset.
The dataset will be organized on disk in as follows, with each split stored in :ref:`FiftyOneDataset format <FiftyOneDataset-import>`:
dataset_dir/ train/ labels/ 000000.txt 000001.txt ... calib/ 000000.txt 000001.txt ... left/ 000000.png 000001.png ... right/ 000000.png 000001.png ... velodyne/ 000000.bin 000001.bin ... pcd/ 000000.pcd 000001.pcd ... metadata.json samples.json test/ ...
Parameters | |
dataset | the directory in which to construct the dataset |
splits:None | the split or list of splits to download. Supported values are ("train", "test") |
scratchNone | a scratch directory to use to download any necessary temporary files |
overwrite:False | whether to redownload/regenerate files if they already exist |
cleanup:False | whether to delete the downloaded zips and scratch directory |
numNone | a suggested number of processes to use when converting LiDAR to PCD |
Loads the KITTI detection annotations from the given TXT file.
See :ref:`this page <KITTIDetectionDataset-import>` for format details.
Parameters | |
txt | the path to the annotations TXT file |
frame | the (width, height) of the image |
extraTrue | whether to load extra annotation attributes onto the imported labels. Supported values are:
|
Returns | |
a fiftyone.core.detections.Detections instance |
def _convert_velodyne_to_pcd(velodyne_map, calib_map, pcd_dir, uuids, overwrite=False, num_workers=None):
(source)
¶
Undocumented
def _download_and_unpack_kitti_zip(data, dataset_dir, scratch_dir, splits, name, cleanup=False, overwrite=False):
(source)
¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
Undocumented
Value |
|