Utils

These utility functions are relative to samples recordings further described in our Sample Recordings page.

metavision_core.utils.samples.get_sample(sample_name, folder='.')

Ensures that a file of name sample_name is indeed in folder.

If not, attempts to download it from Prophesee’s public sample server.

Parameters
  • sample_name (string) – Basename of the requested sample.

  • folder (string) – Path to a folder where data should be saved.

metavision_core.utils.samples.get_all_samples(folder='.')

Ensures that all public samples are downloaded in the given folder

Parameters

folder (string) – Path to a folder where data should be saved.