Visualization of Event to Video data

This Python script allows you to visualize the data generated by the dataloader to perform Event to Video training.

The source code of this script can be found in <install-prefix>/share/metavision/sdk/core_ml/python_samples/viz_data_event_to_video when installing Metavision SDK from installer or packages. For other deployment methods, check the page Path of Samples.

Expected Output

The script displays image sequences (random motions) and their corresponding simulated events.



Setup & requirements

To run the script, you need:

  • a path containing multiple images png or jpg files, or slow motion videos mp4 along with their corresponding timestamps _ts.npy

How to start

An example to run it in Python:

python viz_data_event_to_video.py /path/to/img_directory

To find the full list of options, run:

python viz_data_event_to_video.py -h