• DepthAI
  • Why I can not get 120 fps while USB3.0 only use 23MB/sec traffic?

I got abut 110 fps using I5+USB3.0. I think this will be OK for my application just as the lost images are not continueus. And if I set it to -monof 100, there will still lost frames and the fps only applear as 96 fps. It might be fps counting problem.

Hello frankshieh ,
C++ doesn't have depthai_demo alternative, so you would have to construct your pipeline yourself with our API. You would use pipeline.setXLinkChunkSize(chunk_size) setter to set the XLink chunk size.
Thanks, Erik

    erik Hi, I got a USB3.1 Gen2 card added. The speed is 117.3 fps running :
    python3 depthai_demo.py -s left right -monor 400 -monof 120 -dnn -dd --xlink_chunk_size 0.
    But rgb_preview.py still print USB speed as SUPER, it seems rgb_previwer.py does not idtetify SUPER HIGH(10Gb) from SUPER(5Gb).

    • erik replied to this.

      Hello frankshieh,
      the 10GB feature is still in development, should be out in main in 1/2 weeks🙂 You can try it with the branch develop_embedded (depthai-python repo).

      a year later

      GergelySzabolcs

      Using ">python3 depthai_demo.py -s left right -monor 400 -monof 118 -dnn -dd -xls 0" I'm only able to get 50FPS. Windows + Xeon 6 core CPU with nVidia GPU.

      C:\depthai>python3 depthai_demo.py -s left right -monor 400 -monof 118 -dnn -dd -xls 0
      Using depthai module from: C:\Users\live\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\depthai.cp38-win_amd64.pyd
      Depthai version installed: 2.17.1.0
      Setting up demo...
      Available devices:
      [0] 19443010B18DD71200 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.SUPER
      No depth-related previews chosen, disabling depth...
      [2022-07-22 22:25:53.170] [warning] Insufficient permissions to communicate with X_LINK_BOOTED device having name "2.16". Make sure udev rules are set
      Stopping demo...
      === TOTAL FPS ===

      • erik replied to this.

        Hi thedead ,
        I tried with this code: python3.8 depthai_demo.py -s right -monor 400 -monof 118 -dnn -dd -xls 0 -gt cv and I am able to get around 118FPS. If left mono stream is also enabled, then I get about 90FPS on both left/right streams. Thoughts?
        Thanks, Erik