CSV Viewer Sample

The sample in <install-prefix>/share/metavision/sdk/core/samples/metavision_csv_viewer/metavision_csv_viewer.cpp 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 RAW to CSV Sample). It also shows how to create a class deriving from Metavision::BaseStage that produces data but consumes nothing.

Expected Output

The sample visualizes CD events fread from a CSV file:

Expected Output from Metavision CSV Viewer sample

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 CSV file (here, we use the file from Metavision Dataset that we have converted to CSV format using RAW to CSV Sample):

./metavision_csv_viewer -i FILE_NAME.csv

To check for additional options:

./metavision_csv_viewer -h