-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low fps when aligning depth to color in resolution 1270*720 - rs2 d435 #5218
Comments
Anther user who had low FPS performance when aligning with imshow and had also read #2321 got better results by building librealsense with CUDA support to offload processing work into the GPU. CUDA support is typically offered in Nvidia graphics chips. The link below describes how to build with CUDA, and an alternative GPU offload method if you do not have CUDA. |
Tanks, I will try that and update :) |
@zofnatb, it is highly likely to be the case of CPU being fully utilized. Frame alignment operation is indeed CPU-intensive. You can use I'm not sure that you can run CUDA on NUC but on the SDK level you need to verify that the library is compiled with optimizations turned on ( BTW, the viewer does not generate aligned images. To check the performance of |
@MartyG-RealSense I don't think I can use CUDA in my NUC. And my test is like rs-align and rs-align-advanced. thanks |
@zofnatb, if you're using Debian packages then the optimizations are already turned on, so the FPS you get are probably very close to the max that NUC can provide. In case you build the SDK from source then you need to apply the mentioned flag during CMAKE configuration step You can also experiment with switching to lower resolution/applying decimation filter - this will increase FPS at the expense of depth or color resolutions. |
@ev-mp |
Issue Description
I've been trying to show the aligned color and depth frames in imshow using different ways but the problem is that I get around 8 fps of images 1270*720. use usb 3.2.
At lower resolution it 18 fps.
I try to use the issue #2321 but it not help me.
In RealSense-Viewer It seems to have 30 frames per secondץ
there is way to fix that ?
The text was updated successfully, but these errors were encountered: