-
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
color and depth frame align too slow on rk3588 #12214
Comments
#11758 |
Thanks very much @westpilgrim63 for the update. It's great to hear that you found a solution that works for you! |
The problem has not really been solved. Same issue on rk3399. Sdk version 2.50. |
Hi @sun-xm Depth-color alignment is processed on the CPU of the computer / computing device and not on the camera hardware. So alignment performance will be partly dependent on the strength of the hardware specification of the RK3399 device. If programming in C++ language then it is possible to accelerate performance by offloading processing work from the CPU onto the graphics GPU of a device using the RealSense SDK's GLSL Processing Blocks feature, described at #3654 There is also a C++ example program called rs-gl that demonstrates using GLSL. https://github.com/IntelRealSense/librealsense/tree/master/examples/gl GLSL is 'vendor neutral', meaning that it should work with any brand of GPU. However, if the computing device has a low-end hardware specification then GLSL may not make a noticeable difference. |
Thanks for the tips @MartyG-RealSense. Eventually I've implemented my own version with NEON and OpenMP. Now I can get 30 fps at 1280x720 with around 50% cpu occupation on RK3399. |
Hi @sun-xm It's great to hear that you were able to achieve a solution. Thanks very much for the update! |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
i tried to align color and depth frame using data = align_to.process(data); ,on pc,it's 10 ms,but on rk3588,the same command using about 300 ms ,it's too slow to use in real scene. is there any solution for this?
The text was updated successfully, but these errors were encountered: