I have a project developed in c++ where I process images taken from the camera. Normally my project runs at 30fps without any problems. Now I am trying to add object detection algorithm to develop the project. However, the hardware I use can run the object detection model at around 10 fps. But 1 fps is enough for my project.
My problem is when I add object detection model to my project it works as 8-9 fps. Can I run object detection at 1 fps in the background and run normal operations at 30 fps? I tried to briefly explain what I want to do in the picture below. How can I do this?