-
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 export an xyz file #11046
Comments
Hello, if you are aiming to export a color xyzrgb ply file then the only Python script for doing so with export_to_ply that is known to work is at #6194 (comment) If you do not require color to be included in the ply file then the RealSense SDK has an export_to_ply example program called export_ply_example.py at the link below. |
Hi @MartyG-RealSense , thanks for your reply.I got the ply file with color by using |
A RealSense team member advises at #6677 (comment) that it is not possible to save to ASCII (non-binary) with export_to_ply. save_to_ply has the option to set binary to false as you mention, though color export has not previously worked with it when its ignore_color parameter has been set to false. It has been a couple of years since the Python script at #7747 (comment) was last tested by a RealSense user though, so you could try it to see whether it can now export color. |
Apologies for the delay in responding further. I read some answers( #9531) about you and understood the limitations of these methods. |
You are very welcome. 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
How do I export an xyz file, similar to using
pyrealsense2.points.export_to_ply()
export ply file in Python?The format of .xyz file is as follows, representing xyzrgb respectively:
The text was updated successfully, but these errors were encountered: