neuromorphicsystems / IEBCS

ICNS Event Based Camera Simulator
GNU General Public License v3.0
62 stars 9 forks source link

Question regarding frame rate #11

Open jssl-sydney opened 11 months ago

jssl-sydney commented 11 months ago

Hi,

This is more of question about how the simulator works than an software issue but hopefully you can help...

In the file 1_example_video_to_events.py on line 28 is this: dt = 1000 # FPS must be 1 kHz

I was wondering why the frame rate must be 1kHz? I've tried video with a slower frame rate and while it runs successfully, the event timestamps don't seem right.

It seems to put a lot of events right after each frame. This can also been seen in the Hummingbird example video, below is (a small section of) the event rate (events/sec) from that video: image

Why is there a spike in the event rate in the 100us after each frame? I would have expected the events to be more evenly distributed between each frame.