DAVISDATA#

class tonic.datasets.DAVISDATA(save_to: str, recording: Union[str, List[str]], transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, transforms: Optional[Callable] = None)[source]#

DAVIS event camera dataset

@article{mueggler2017event,
  title={The event-camera dataset and simulator: Event-based data for pose estimation, visual odometry, and SLAM},
  author={Mueggler, Elias and Rebecq, Henri and Gallego, Guillermo and Delbruck, Tobi and Scaramuzza, Davide},
  journal={The International Journal of Robotics Research},
  volume={36},
  number={2},
  pages={142--149},
  year={2017},
  publisher={SAGE Publications Sage UK: London, England}
}
Parameters:
  • save_to (string) – Location to save files to on disk. Will save files in a sub folder ‘davis_dataset’.

  • recording (string) – Use the name of the recording or a list thereof to download it, for example ‘dynamic_6dof’ or [‘slider_far’, ‘urban’]. See project homepage for a list of available recordings. Can use ‘all’ to download all available recordings.

  • transform (callable, optional) – A callable of transforms to apply to events and/or images.

  • target_transform (callable, optional) – A callable of transforms to apply to the targets/labels.

  • transforms (callable, optional) – A callable of transforms that is applied to both data and labels at the same time.

__getitem__(index)[source]#
Returns:

tuple of (data, target), where data is another tuple of (events, imu, images) and target is the opti track ground truth