• DepthAI-v2
  • Increased Latency with Two Cameras on FFC-3P

Hello,

I have an FFC-3P with two cameras, and I would like to obtain the full frame video stream at 60 fps. When using one camera, I achieve a latency of 30ms, which I believe is the minimum I can get from a Luxonis camera. However, when I activate both cameras, the latency drops to 140ms.

I would like to know what the bottleneck could be in this situation. The device is connected to a USB3 port.

Here is the code I am using: https://gist.github.com/FabienDanieau/1fae0507df3057d48ad6fedb739f4ab3 and here is the log https://gist.github.com/FabienDanieau/a4ffca689f66266c7e8a5b230767b342

Thanks for your advice!

  • Hi @FabPoll
    Try setting pipeline.setXLinkChunkSize(0) and using
    with dai.Device(pipeline, maxUsbSpeed=dai.UsbSpeed.SUPER_PLUS) as device:

    Thanks,
    Jaka

Hi @FabPoll
Try setting pipeline.setXLinkChunkSize(0) and using
with dai.Device(pipeline, maxUsbSpeed=dai.UsbSpeed.SUPER_PLUS) as device:

Thanks,
Jaka

    jakaskerl

    That's better indeed. Also I've got better results another usb cable with a usb-c connection on the computer side.

    [18443010B18A5B1200] [3.13] [10.959] [system] [info] Memory Usage - DDR: 24.70 / 333.28 MiB, CMX: 2.09 / 2.50 MiB, LeonOS Heap: 34.70 / 82.18 MiB, LeonRT Heap: 3.77 / 40.34 MiB / NOC ddr: 1185 MB/s

    [18443010B18A5B1200] [3.13] [10.959] [system] [info] Temperatures - Average: 47.57C, CSS: 49.37C, MSS 46.90C, UPA: 46.45C, DSS: 47.58C

    [18443010B18A5B1200] [3.13] [10.959] [system] [info] Cpu Usage - LeonOS 83.90%, LeonRT: 30.52%

    Raw 0:00:00.044936 - Raw2 0:00:00.044931

    Raw 0:00:00.046664 - Raw2 0:00:00.046660

    Raw 0:00:00.042997 - Raw2 0:00:00.042991