• DepthAI-v2
  • using sync node causes actual fps to reduce by almost 50%

Hi,
I have set up sync node for mono left and mono right. The retrieval for both indeed is of the same sequence # of frames, but, the performance of the system reduced, the actual fps is reduced to about 50%. Orinally I was able to get 4 fps, now with sync node in place, I only get 1 to 2 fps.

Any idea?

    jkchen46033
    But it is in sync now? It wasn't before. You can set syncAttempts = 0, then it should work like it does without the node.

    Thanks,
    Jaka

    My bad. It was my coding bug. It is in sync now and there is no problem.

    Is it possible to sync all three cameras? How to code that?

    I did another experiment and indeed the sync node will reduce performance. I have this setup: sync node for left and right camera, and its own queue; another queue for rgb camera. So there are two queues. With this setup, I am seeing a lot of delays in get(). Sometime is is 0.5 s to 1 s.

    I don't understand why adding the rgb queue causing the performance to drop noticeably.

      5 days later

      jkchen46033
      Can you make a MRE? Sync node will receive one and wait for the other frame to come and this might take some time depending on the FPS of both streams.

      Thanks,
      Jaka