-
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
How do I convert depth image to point cloud? #2090
Comments
In examples of this library there's point cloud generation in OpenGL. In wrappers there's wrapper to convert realsense point could into pcl point cloud. |
Have you seen the step by step tutorial on generating a point cloud? I believe that is what Summer1216 is referring to above in regard to 'Examples'. https://github.com/IntelRealSense/librealsense/tree/master/examples/pointcloud |
Do we have python example? |
There is an example for saving point clouds as PLY files directly from Pyrealsense. |
How can we visualize point cloud using python? |
I searched very hard but was unable to find a good, clear example of creating a point cloud in Python. One of the Intel support people on this forum such as Dorodnic or RealSense-Customer-Engineering may be able to answer this better, as they have access to resources that I do not. The best I could find was a page in Japanese, where they apparently create a Python point cloud with a D415 by importing the Point Cloud Library (PCL). |
I'm also searching an efficient way to visualize in real time the generated pointcloud from the D400 cam from python wrapper. You can have a look at python-pcl which is a python binding of the PCL lib but I did not manage to install it... So I'm trying to find a way to create my own viewer using OpenGL and the python wrapper by getting the vertices and textures coordinate in numpy. If anyone have a clue about how to do it or a better way to visualise the point clouds It could be very usefull! |
@baptiste-mnh thank you for the feedback, looking forward to your findings. |
Thanks muchly for the point cloud tutorial, Dorodnic - I'll make sure the link gets promoted and passed on to those on the RealSense Support forum who have been asking about Python point clouds. |
[Realsense Customer Engineering Team Comment] |
How do I convert depth image to point cloud? Now, I am doing object detection from color then I get the region on the depth image. I would like to convert dept image to PC. Can anyone give me suggestion?
Thanks
The text was updated successfully, but these errors were encountered: