12 releases
0.2.9 | Mar 18, 2024 |
---|---|
0.2.7 | Jan 12, 2024 |
0.2.2 | Oct 3, 2023 |
0.2.1 | Jun 1, 2023 |
0.1.0 | Dec 31, 2022 |
#303 in Video
470 downloads per month
220KB
4.5K
SLoC
This program transcodes an ADΔER file to DVS events in a text or binary representation. Performance is fast. The resulting DVS stream is written out as an mp4 file.
Install: cargo install adder-to-dvs
Example usage:
adder-to-dvs --input "/home/andrew/Downloads/spinner.adder" --output-events "/home/andrew/Downloads/adder.dat" --output-video "/home/andrew/Downloads/adder_dvs.mp4" --show-display --fps 1000.0 --playback-slowdown 0.01
Optionally, you can enable the --reorder
flag to ensure that the DVS events are all correctly ordered with each other
by timestamp. It's a lot slower, since all the events must be kept in memory until the end. You can then convert the
resulting .dat-formatted file (see .dat reference here)
to the .hdf5 format using this Metavision tool.
Then, you can display the resulting .hdf5 file in Metavision Studio, as if it was generated by a Prophesee camera.
Dependencies
~13–18MB
~328K SLoC