-
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
need help with pointcloud creation and visualization given only the depth data #8255
Comments
Hi @monacv I wonder if what you are hoping to do is to generate a color-shaded point cloud in Python without using RGB. Is that correct, please? |
Hi @MartyG-RealSense, thanks a lot for your reply. I'd be interested to learn how you did this? Do you have the code snippet for reproducing it for Intel RealSense camera? Yes, I want to create the 3D pointcloud only using the depth frame and depth intrinsics and depth scale. I have created a version using O3D for now but would like to learn how to use this other version too. |
The image I provided above was produced in the RealSense Viewer, but you can control depth colorization with code too so that Python point clouds look more like the ones produced by the Viewer. A range of resources for configuring depth colorization in Python are provided in the link below. |
Hi @monacv Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
I saw https://github.com/dorodnic/binder_test/blob/master/pointcloud.ipynb however it also makes use of RGB frames.
If I only have the depth data and color_intrinsics, how can I create a pointcloud using RealSense API and how can I visualize it?
I also saw this method but I am unsure how I could visualize it:
pointcloud = convert_depth_frame_to_pointcloud(original_depth_frame, color_intrinsics)
Also for the line above I get this error:
module 'pyrealsense2' has no attribute 'convert_depth_frame_to_pointcloud'
where:
Please also have a look at https://stackoverflow.com/questions/65930029/visualizing-the-pointcloud-from-realsense-api-or-open3d-library
The text was updated successfully, but these errors were encountered: