Hello! I recently purchased an OAK-D lite and an OAK-D pro camera and my goal was to use them in my app. For context my app is based on PyQt5 and Qthread is used to fetch camera frames. Previously I was using a simple webcam but now I want to use the 4k resolution from my OAK cameras in my app.
The issue I'm facing is that when I use the method provided in following link
https://docs.oakchina.cn/projects/api/samples/ColorCamera/rgb_video.html#rgb-video
I get around 20 fps max. My app also does some processing so the final fps I see is around 10-15 which is not good for my use-case. Following is the minimum code to reproduce same situation. Am I doing something wrong in reading the frame perhaps? Any help will be appreciated.
Bilall003/oak-code-demo