open3d.io.read_point_cloud

open3d.io.read_point_cloud(filename, format='auto', remove_nan_points=True, remove_infinite_points=True, print_progress=False)

Function to read PointCloud from file

Parameters
  • filename (str) – Path to file.

  • format (str, optional, default='auto') – The format of the input file. When not specified or set as auto, the format is inferred from file extension name.

  • remove_nan_points (bool, optional, default=True) – If true, all points that include a NaN are removed from the PointCloud.

  • remove_infinite_points (bool, optional, default=True) – If true, all points that include an infinite value are removed from the PointCloud.

  • print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console

Returns

open3d.cpu.pybind.geometry.PointCloud