diff --git a/examples/python/reconstruction_system/color_map_optimization_for_reconstruction_system.py b/examples/python/reconstruction_system/color_map_optimization_for_reconstruction_system.py index 173f6f52c22..088ec51818a 100644 --- a/examples/python/reconstruction_system/color_map_optimization_for_reconstruction_system.py +++ b/examples/python/reconstruction_system/color_map_optimization_for_reconstruction_system.py @@ -14,6 +14,7 @@ pyexample_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(pyexample_path) from open3d_example import * +from initialize_config import initialize_config def parse_keys(filename): diff --git a/examples/python/reconstruction_system/make_fragments.py b/examples/python/reconstruction_system/make_fragments.py index dc4e59d0780..17d875aa86c 100644 --- a/examples/python/reconstruction_system/make_fragments.py +++ b/examples/python/reconstruction_system/make_fragments.py @@ -139,8 +139,11 @@ def make_pointcloud_for_fragment(path_dataset, color_files, depth_files, pcd.colors = mesh.vertex_colors pcd_name = join(path_dataset, config["template_fragment_pointcloud"] % fragment_id) - o3d.io.write_point_cloud(pcd_name, pcd, False, True) - + o3d.io.write_point_cloud(pcd_name, + pcd, + format='auto', + write_ascii=False, + compressed=True) def process_single_fragment(fragment_id, color_files, depth_files, n_files, n_fragments, config):