Simple Viewer using Python

The sample metavision_simple_viewer.py shows how to use the Python bindings of Metavision Core SDK to display events from a live Camera or a RAW file.

Expected Output

The sample visualizes CD events from an event-based device or a RAW file:

Expected Output from Metavision Simple Viewer Sample

How to start

To start the sample based on the live stream from your camera, run:

Linux

python3 metavision_simple_viewer.py

Windows

python metavision_simple_viewer.py

To start the sample based on recorded data, provide the full path to a RAW file (here, we use the file spinner.raw from our Sample Recordings):

Linux

python3 metavision_simple_viewer.py -i spinner.raw

Windows

python metavision_simple_viewer.py -i spinner.raw