Note

This Python sample has a corresponding C++ sample.

CSV Viewer Sample using Python

The sample metavision_csv_viewer.py shows how to use Metavision Core SDK pipeline utility to read and display events from a CSV formatted event-based file (e.g. CSV file produced by metavision_raw_to_csv sample).

Expected Output

The sample visualizes CD events read from a CSV file:

Expected Output from Metavision CSV Viewer sample

How to start

To start the sample based on recorded data, provide the full path to a CSV file (for example, a RAW file from our Sample Recordings converted to CSV format using the metavision_raw_to_csv sample):

Linux

python3 metavision_csv_viewer.py -i FILE_NAME.csv

Windows

python metavision_csv_viewer.py -i FILE_NAME.csv

To check for additional options:

Linux

python3 metavision_csv_viewer.py -h

Windows

python metavision_csv_viewer.py -h