Viewer Application

This application allows you to stream events from an event-based device or a RAW file and visualize them on a screen.

The source code is installed in <install-prefix>/share/metavision/sdk/driver/apps/metavision_viewer/metavision_viewer.cpp, and it demonstrates how to use Metavision SDK Driver API for visualizing events stream.

Expected Output

The application visualizes events acquired from an event-based camera or a RAW file:

Expected Output from Metavision Viewer Application

How to start

You can directly execute pre-compiled binary installed with Metavision software or compile the source code as described in this tutorial.

To start the pre-compiled executable based on the live stream from your camera, run:

Linux

metavision_viewer

Windows

metavision_viewer.exe

To start the pre-compiled executable based on recorded data, provide the full path to one or several RAW files (here, we use two files from Metavision Dataset):

Linux

metavision_viewer -i traffic_monitoring.raw

Windows

metavision_viewer.exe -i traffic_monitoring.raw

To check for additional options:

Linux

metavision_viewer -h

Windows

metavision_viewer.exe -h