Hey guys, i am looking at the following problem and i would really appreciate some help.
I have written a camera interface that wraps around the depthai camera control and everything is fine except the frame retrieval, when i try to get a frame from the rgb/color camera (Oak-D Lite) it's extremely slow and it slowing all other parts of my code because it has to wait for the frame in question. My work-around for that problem is that i run a function on a separate thread that is constantly getting the frames that i need and writing them in variables, and when i need a frame, there is always a frame that is waiting for me because the threaded function is making sure of that, but is there another way to achieve that, to retrieve the frames faster using the depthai api alone, not to have to write that kind of work-arounds for a seemingly simple problem.
Thanks
Vihren