Metavision Designer Data Filtering Sample

The Computer Vision API can be used for transforming the events stream and filtering events.

The sample in <install-prefix>/share/metavision/designer/cv/samples/metavision_filter_data.py shows how to acquire CD stream from an event-based device, apply filters and visualize the filtered events on the screen.

The following filters can be applied via command-line arguments:

  • metavision_designer_core.RoiFilter

  • metavision_designer_cv.TrailFilter

  • metavision_designer_core.FlipXFilter

  • metavision_designer_core.FlipYFilter

Expected Output

Metavision Filtering Data sample visualizes CD stream from an event-based device after applying specified filters:

Expected Output from Metavision Filtering Data Sample

How to start

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

Linux

python3 /usr/share/metavision/designer/cv/samples/metavision_filter_data.py

Windows

python "C:\Program Files\Prophesee\share\metavision\designer\cv\samples\metavision_filter_data.py"

To check for additional options:

Linux

python3 /usr/share/metavision/designer/cv/samples/metavision_filter_data.py -h

Windows

python "C:\Program Files\Prophesee\share\metavision\designer\cv\samples\metavision_filter_data.py" -h