12 Replies Latest reply on Nov 4, 2018 7:32 AM by York_

    Help:get .ply pointcloud from pyrealsense2

    York_

      Hi,

       

      I have got pointcloud data from only one frame.But I want get pointcloud data from multiple frame.

      I know can export .ply file from .bag file by realsense-viewer.So I think maybe by pyrealsense2 it can also come true.

      What should I do?

       

      Thanks in advance

       

       

      The code:

           pc = rs.pointcloud()

           pc.map_to(color)

           points = pc.calculate(depth) # only one frame

           points.export_to_ply("xxx", color)