This Python sample has a corresponding C++ sample.

RAW to CSV Sample using Python

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

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

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):


python3 -i FILE_NAME.raw


python -i FILE_NAME.raw