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 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):
Linux
python3 metavision_raw_to_csv.py -i FILE_NAME.raw
Windows
python metavision_raw_to_csv.py -i FILE_NAME.raw