Dummy Radar Sample using C++

The sample metavision_dummy_radar.cpp shows an example of processing pipeline featuring some algorithm (here the ActivityMonitor computing event rates per bin and RadarViewer for displayed image production) and some display feature (using our SDK UI module) altogether with a slicing operation.

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

Expected Output

The sample visualizes a fan-shape radar with the object generating most events highlighted as a white strip:

Expected Output from Metavision Dummy Radar sample

How to start

First, compile the sample as described in this tutorial.

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

Linux

./metavision_dummy_radar

Windows

metavision_dummy_radar.exe

To start the sample based on recorded data, provide the full path to a RAW or an HDF5 event file:

Linux

./metavision_dummy_radar -i <YOUR_RECORDING>

Windows

metavision_dummy_radar.exe -i <YOUR_RECORDING>

To check for additional options:

Linux

./metavision_dummy_radar -h

Windows

metavision_dummy_radar.exe -h