peabody124/gige_camera

Real time visualization

Closed this issue · 0 comments

Having a flag to show a preview of the recording in parallel would be super helpful. I would recommend doing this by creating an additional image queue with a maximum size of 1 (since a longer history isn't required) and putting the images on the exiting queue and this new preview queue. Then have a preview thread that opens an openCv display window and grabs the most recent set of images, create a tile of them and then show that image. Let's make sure it doesn't slow things down, though.

It would be nice to make the images take reasonable dimensions so something like:
1 camera -> 1x1
2 camera -> 1x2
3 camera -> 2x2 (with black square)
4 camera -> 2x2
5+camera -> 2x3