This C++ sample has a corresponding Python sample.
RAW to CSV Sample using C++
metavision_raw_to_csv.cpp shows how to use Metavision Core SDK pipeline utility to convert an event-based
RAW file to a CSV formatted event-based file. It also shows how to customize an instance of
Metavision::BaseStage to write to a file.
The sample reads data from a RAW file and writes them to a CSV file in the execution path.
How to start
First, compile the sample as described in this tutorial.
To start the sample based on recorded data, provide the full path to a RAW file (here, we use a file from our Sample Recordings):
./metavision_raw_to_csv -i spinner.raw
metavision_raw_to_csv.exe -i spinner.raw