Oh also IIRC 118FPS is currently the max framerate on the global shutter grayscale right now. And also there may be some error in counting the framerate as well that could be impacting here.
Why I can not get 120 fps while USB3.0 only use 23MB/sec traffic?
- Edited
Please check out the following PR/branch :
https://github.com/luxonis/depthai/pull/468
Run as:
python3 depthai_demo.py -s left right -monor 400 -monof 118 -dnn -dd --xlink_chunk_size 0
This results in 118 FPS.
Some details FYI:
https://github.com/luxonis/depthai-core/pull/199
Thanks, Szabi!
- Edited
hi GergelySzabolcs I think you meant to be tagging @frankshieh ????
- Edited
Yes, my bad. Autocomplete..
Sorry about that
Not a problem at all
GergelySzabolcs OK, will try!
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.
GergelySzabolcs How can I set "--xlink_chunk_size" in C++ API?
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 I see! Thanks!
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).
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).
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 ===