I have successfully been using C++ and C# interop to share image data. Currently however the query rate (using auto imgFrames = rgbQueue->tryGetAll<dai::ImgFrame>();
) is tied to my C# application frame rate (60fps) when I make the interop query call. Since my OAK-1 OV9782 captures at 120fps I need to refactor my C++ code to run at the desired 120fps rate before my 60fps interop query.
Is there an event (or similar) for knowing when my camera has an updated frame (thus at a 120fps rate) so I can process that image data? Or is the expectation that I need to still use the auto imgFrames = rgbQueue->tryGetAll<dai::ImgFrame>();
call, but in a custom indefinite loop?