This Python sample is available only with our Professional plan.
Frame to Event
This Python script allows you to transform frame-based image or video into event-based counterpart.
When launched on a video with default options, the script shows two windows with:
the original video
the corresponding event-based video produced by the simulator
When used with the
-o option, a DAT file containing the
simulated events is generated.
Setup & requirements
To run the script, you need:
a full path to the image file (in
jpgformat) or video (in
How to start
An example to run the script on an MP4 video:
python3 viz_event_simulator.py /path/to/video.mp4
python viz_event_simulator.py /path/to/video.mp4
To find the full list of options, run:
python3 viz_event_simulator.py -h
python viz_event_simulator.py -h