Items with no label
3335 Discussions

i get .ply in this way, but it sees to have some problems

tguan
New Contributor I
1,731 Views

i get .ply in the way below,

frames = pipe.wait_for_frames()

depth = frames.get_depth_frame()

color = frames.get_color_frame()

pc.map_to(color)

points = pc.calculate(depth)

points.export_to_ply("1.ply", color)

https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/export_ply_example.py

but when i want to visualize it ,i can see nothing ,but when i do the same thing to others i downloads from the internet,such as anky.ply inthe pyntcloud tutotial, it was right.

so can you tell me what was wrong?

0 Kudos
3 Replies
idata
Employee
146 Views

Hello guantong,

 

 

Thank you for your interest in the Intel RealSense Technology.

 

 

We have run the same example as you and we did not encounter this issue.

 

Could you please let us know if the 1.ply file generated is empty? Are you using the code as it is or did you make any changes on it? Could you please let us know what is the camera that you have used?

 

 

Another option to save a .ply file is from RealSense Viewer. You have to go to 3D view, have both Depth and RGB camera streams opened, and save it as .ply.

 

 

Looking forward to your reply!

 

 

Best regards,

 

Eliza
idata
Employee
146 Views

Hello guantong,

 

 

Could you please let us know if you are still having this issue?

 

 

Thank you in advance,

 

Eliza
tguan
New Contributor I
146 Views
0 Kudos
Reply