adder-to-dvs

Crates.ioadder-to-dvs
lib.rsadder-to-dvs
version0.2.9
created_at2022-12-31 16:12:31.127258+00
updated_at2024-03-18 18:07:37.648233+00
descriptionThis 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.
homepagehttps://github.com/ac-freeman/adder-codec-rs/wiki
repositoryhttps://github.com/ac-freeman/adder-codec-rs/tree/main/adder-to-dvs
max_upload_size
id748466
size58,175
Andrew C. Freeman (ac-freeman)

documentation

README

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.

Commit count: 746

cargo fmt