This C++ sample is available only with our Professional plan. The corresponding Python sample is available with all Metavision Intelligence Plans.

Noise Filtering using C++

The Computer Vision API provides different noise filtering strategies.

The sample metavision_noise_filtering.cpp shows how to use Metavision SDK CV module to apply different noise filtering strategies. In addition, it shows how to capture keys pressed in a display window used to modify the behavior of the stages while the pipeline is running.

The following filters can be applied via keyboard keys:

Expected Output

The sample visualizes CD events after filtering (here, we applied Activity Filter):

Expected Output from Metavision Noise Filtering 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:





To start the sample, you need to provide recorded data with the full path to a RAW file (here, we use a file from our Sample Recordings):


./metavision_noise_filtering -i monitoring_40_50hz.raw


metavision_noise_filtering.exe -i monitoring_40_50hz.raw