Viewer Application

This application allows you to stream events from an event-based device or a RAW file and visualize them on a screen. It demonstrates how to use Metavision SDK Driver API for visualizing events stream.

The source code of this application can be found in <install-prefix>/share/metavision/sdk/driver/apps/metavision_viewer when installing Metavision SDK from installer or packages. For other deployment methods, check the page Path of Samples.

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 Intelligence 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