-
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 to get textured point cloud? #9005
Comments
Hi @JimXu1989 As you quote "We'll use the colorizer to generate texture for our PLY", it sounds as though you are referring to the SDK Python example program export_ply_example. Historically, there have been difficulties in past cases with exporting color to a ply using Python. The case below has Python scripting shared by a RealSense user whose code exported color to a ply, though without vertex normals. If lack of normals is not a problem for you then the script may be helpful if it works for you. It uses the export_to_ply export method instead of save_to_ply. |
Thanks a lot for your reply |
Hi @JimXu1989 Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
How to get textured point cloud? Texture form color image.
the comment says: We'll use the colorizer to generate texture for our PLY
(alternatively, texture can be obtained from color or infrared stream)
colorizer = rs.colorizer()
try:
# Wait for the next set of frames from the camera
frames = pipe.wait_for_frames()
color_frame = frames.get_color_frame()
colorized = colorizer.process(frames)
The text was updated successfully, but these errors were encountered: