Note

This Python sample has a corresponding C++ sample.

RAW to CSV Sample using Python

The sample metavision_raw_to_csv.py shows how to use Metavision Core SDK pipeline utility to convert an event-based RAW file to a CSV formatted event-based file.

Expected Output

The sample reads data from a RAW file and writes them to a CSV file in the execution path.

How to start

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

Linux

python3 metavision_raw_to_csv.py -i FILE_NAME.raw

Windows

python metavision_raw_to_csv.py -i FILE_NAME.raw