datasetinsights.datasets

datasetinsights.datasets.exceptions

exception datasetinsights.datasets.exceptions.DatasetNotFoundError

Bases: Exception

Raise when a dataset file can’t be found.

datasetinsights.datasets.synthetic

Simulation Dataset Catalog

datasetinsights.datasets.synthetic.read_bounding_box_2d(annotation, label_mappings=None)

Convert dictionary representations of 2d bounding boxes into objects of the BBox2D class

Parameters
  • annotation (List[dict]) – 2D bounding box annotation

  • label_mappings (dict) – a dict of {label_id: label_name} mapping

Returns

A list of 2D bounding box objects

datasetinsights.datasets.synthetic.read_bounding_box_3d(annotation, label_mappings=None)

Convert dictionary representations of 3d bounding boxes into objects of the BBox3d class

Parameters
  • annotation (List[dict]) – 3D bounding box annotation

  • label_mappings (dict) – a dict of {label_id: label_name} mapping

Returns

A list of 3d bounding box objects