Interoperability Sample using Python

The sample metavision_interop.py shows how to read multiple AER event file formats.

The following formats are supported:

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

Expected Output

The sample visualizes CD events read in the input file:

Expected Output from Metavision Interoperability Sample

Requirements

Some Python libraries have to be installed to read rosbag and aedat4 formats:

python -m pip install --extra-index-url https://rospypi.github.io/simple/ rospy rosbag
python -m pip install aedat

How to start

To start the sample on a ZIP file containing a TXT file in CSV format downloaded from the High Speed and High Dynamic Range Video with an Event Camera Dataset page , provide the full path to the file:

python metavision_interop.py /path/to/gun_bullet_gnome.zip

To check for additional options:

python metavision_interop.py -h