-
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 save a file in point cloud format? #11812
Comments
Hi @mengxinglvhappy The save_to_ply() instruction provides the configuration options that are offered by the RealSense Viewer's exporter. An example of a C++ script that demonstrates its use can be found at #6677 (comment) The official SDK documentation for its configuration options can be found at the link below. https://intelrealsense.github.io/librealsense/doxygen/classrs2_1_1save__to__ply.html |
I have read #6677,and i have solved my problem.here is my code:
|
Hi @mengxinglvhappy I see that you re-opened the issue after achieving a solution. Do you require further assistance, please? Thanks! |
| Camera Model |D415 |
| Firmware Version | 05.13.00.50 |
| Operating System & Version | WIN11 |
| Platform | PC|
| SDK Version | SDK2.0 |
| Language | C++ |
| Segment |others |
Issue Description
<Describe your issue / question / feature request / etc..>
I recorded a video using RealSense Viewer, and the video is saved as a .bag file.After i use this code:
I get .ply file,but when I opened it, it was in mesh format instead of point cloud format.
After I use the example:pointcloud .this one:
Here is my code
but I only get a window with a pointcloud ,i don't know how to save this pointcloud.How can I save a PLY file in point cloud format instead of mesh format?Like the feature in Realsense Viewer:
The text was updated successfully, but these errors were encountered: