Crates.io | adder-to-dvs |
lib.rs | adder-to-dvs |
version | 0.2.9 |
source | src |
created_at | 2022-12-31 16:12:31.127258 |
updated_at | 2024-03-18 18:07:37.648233 |
description | 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. |
homepage | https://github.com/ac-freeman/adder-codec-rs/wiki |
repository | https://github.com/ac-freeman/adder-codec-rs/tree/main/adder-to-dvs |
max_upload_size | |
id | 748466 |
size | 58,175 |
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.