#events #neuromorphic #decoding #video-stream #binary-representation

app adder-to-dvs

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.

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

#394 in Video

Download history 12/week @ 2024-01-05 23/week @ 2024-01-12 17/week @ 2024-02-16 10/week @ 2024-02-23 2/week @ 2024-03-08 109/week @ 2024-03-15 15/week @ 2024-03-22 9/week @ 2024-03-29

135 downloads per month

MIT/Apache

210KB
4.5K SLoC

Crates.io Downloads

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

~18MB
~358K SLoC