This C++ sample has a corresponding Python sample.
Noise Filtering using C++
The Computer Vision API provides different noise filtering strategies.
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 sample while it is running.
The following filters can be applied via keyboard keys:
The source code of this sample can be found in
when installing Metavision SDK from installer or packages. For other deployment methods, check the page
Path of Samples.
The sample visualizes CD events after filtering (here, we applied Activity Filter):
How to start
You can directly execute pre-compiled binary installed with Metavision SDK or compile the source code 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