dattalab-6-cam / multicamera_acquisition

Synchronized machine vision acquisition across multiple cameras using an arduino (Supports FLIR and Basler)
MIT License
4 stars 5 forks source link

Clean video funcs #15

Closed jonahpearl closed 8 months ago

jonahpearl commented 8 months ago

Add auto muxing, clean video functions, fix some bugs with real cameras.

All tests passing with emulation + on Windows w two real cameras.

TODO: — we should refactor the enumerate_devices step during acquisition, so that it happens once and only once in the main thread. Otherwise the cameras are clashing with each other as they try to open separate pylon system instances in separate processes (and we can just try/except the errors but it's a hacky way to do it)