I'm using a semaphore to block the main thread until the call back releases it.
This means that the main thread can only make one request at a time. This is probably not as efficient as letting the camera do the scheduling but it works and I think that the overhead would be small in comparison to the time it takes to capture the image.
This means that the main thread can only make one request at a time. This is probably not as efficient as letting the camera do the scheduling but it works and I think that the overhead would be small in comparison to the time it takes to capture the image.
Statistics: Posted by nickoppen — Tue Sep 17, 2024 4:39 am