Note

This C++ application has a corresponding Python sample.

Data Rate Viewer using C++

The application metavision_data_rate filters noise and displays event rate from a live camera or a RAW file. The noise is filtered using the following algorithms:

By default, the Activity noise filter is already activated. You can activate other filters and adjust their thresholds via command-line options.

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

Expected Output

The application visualizes CD event rate from an event-based device or a RAW file after filtering:

Expected Output from Metavision Event-Rate Viewer

How to start

To start the application based on a live stream from your camera, run:

Linux

metavision_data_rate

Windows

metavision_data_rate.exe

To start the application based on recorded data, provide the full path to a RAW file (Here, we use the file spinner.raw from our Sample Recordings):

Linux

metavision_data_rate -i spinner.raw

Windows

metavision_data_rate.exe -i spinner.raw