This maybe a simple fix, but I am too in the weeds to figure it out.
How do I sync the detection output and the depth frame to be on the same rate?
I am passing the location of a detected object (from 2D projection) to the 3D depth map. I am hacking the Depth calculator program to find the distance between the camera and the detected object.
But my detections are faster than the process of sending the location (for which the depth is to be calculated) to the depthmap. So I am getting the wrong locations as the object is moving.
Is there a way to fix it? I can alter the blocking, but the input data is not going to change the rate because of that.
Ubuntu 20.04 (VMWare workstation)