jbmelander / jackfish

FLIR-labjack-flystim interface
0 stars 0 forks source link

Frames can be dropped at the beginning and redundant frames at the end #5

Closed minseungchoi closed 1 year ago

minseungchoi commented 1 year ago

Because writer thread starts after cam acquisition, there's a gap of time when frames could be dropped.

Also, because we insert to image_queue from self.frame, we could be writing redundant frames when no frames are grabbed.

minseungchoi commented 1 year ago

Addressed by the previous few commits. Changed order of recording start. We prevent redundant frame writing.