Displaying Frames

Metavision SDK offers a UI module that comes with a C++ and a Python API allowing to display frames, but any other GUI framework can be used.

Using SDK UI C++ API

In C++, there are two main classes:

  • Metavision::Window that will be updated on demand

  • Metavision::MTWindow that owns an internal rendering thread allowing a fixed frequency display (synchronized with the screen’s refresh rate)

Those classes are explained and demonstrated in the sample metavision_simple_window.

Using SDK UI Python API

In Python, the C++ classes Windows and MTWindo have Python bindings:

Those Python classes are working similarly to the C++ classes explained in details in the C++ sample metavision_simple_window.

To see those two Python classes in action, you can refer to those samples:

Using GUI frameworks

Some of our code samples are showing how to use third-party GUI frameworks: