• DepthAI-v2
  • FPS of images read for Spatial Object Tracker on RGB

Hi all!

I am using the Spatial Object Tracker on RGB script with OAK-D for an application of Detecting and measuring distance between cars and a host bicycle. I while saving frames obtained from OAK-D with timestamps, I realised that they are at an interval corresponding to the NN fps calculated by the script, which is usually at a range of 20-30. Is there a way to fix the fps so as to correlate the data obtained from the OAK-D to a data obtained from the GPS of the target object/vehicle?

Thank you

    Hi SaswatikP15
    You can set the FPS manually using ColorCamera nodes setFps() method. Note that if your NN node cannot handle the frame rate, you will have a lower overall FPS and potential queue blocking.

    Thanks,
    Jaka