We're trying to take images using multiple Lepton 3.5 cameras at the same time and are running into issues. We're using a Raspberry Pi 4 and flirpy. We're able to get pseudo-synchronous capture using a for-loop, but the process takes approximately 5-6 seconds to complete, which is too long for our purposes. We've tried using Pool from the Multiprocessing Python library and found that only 1 is able to finish its entire process, whereas the others will start but will only produce empty data arrays(flirpy produces the "cannot open image capture device" error).
Has anyone else tried to do something similar and gotten better/faster results, or know of other ways to accelerate the process of getting images from multiple cameras?
We're trying to take images using multiple Lepton 3.5 cameras at the same time and are running into issues. We're using a Raspberry Pi 4 and flirpy. We're able to get pseudo-synchronous capture using a for-loop, but the process takes approximately 5-6 seconds to complete, which is too long for our purposes. We've tried using Pool from the Multiprocessing Python library and found that only 1 is able to finish its entire process, whereas the others will start but will only produce empty data arrays(flirpy produces the "cannot open image capture device" error).
Has anyone else tried to do something similar and gotten better/faster results, or know of other ways to accelerate the process of getting images from multiple cameras?