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 available in the metavision_viewer folder within the Driver module 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 viewer based on the live stream from your camera, run:

Linux

metavision_viewer

Windows

metavision_viewer.exe

To start the viewer based on recorded data, provide the full path to a RAW file (here, we use a file from our Sample Recordings):

Linux

metavision_viewer -i traffic_monitoring.raw

Windows

metavision_viewer.exe -i traffic_monitoring.raw

To use the application to record the live stream from your camera, use the -o option and provide the full path to an output RAW file:

Linux

metavision_viewer -o /path/to/my_record.raw

Windows

metavision_viewer.exe -o /path/to/my_record.raw

To check for additional options:

Linux

metavision_viewer -h

Windows

metavision_viewer.exe -h