From cddf6a6569ac5f5c84a33ce2a856b2c1fd57de14 Mon Sep 17 00:00:00 2001 From: ManuConcepBrito <33829944+ManuConcepBrito@users.noreply.github.com> Date: Sun, 5 Feb 2023 20:04:53 +0100 Subject: [PATCH] Consistent naming for depth maps in Polycam (#1352) --- nerfstudio/process_data/polycam_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/process_data/polycam_utils.py b/nerfstudio/process_data/polycam_utils.py index d1887833b..079ff16f7 100644 --- a/nerfstudio/process_data/polycam_utils.py +++ b/nerfstudio/process_data/polycam_utils.py @@ -72,7 +72,7 @@ def polycam_to_json( frame["h"] = frame_json["height"] - crop_border_pixels * 2 frame["file_path"] = f"./images/frame_{i+1:05d}{image_filename.suffix}" if use_depth: - frame["depth_map_path"] = f"./depth/frame_{i+1:05d}{depth_filenames[i].suffix}" + frame["depth_file_path"] = f"./depth/frame_{i+1:05d}{depth_filenames[i].suffix}" # Transform matrix to nerfstudio format. Please refer to the documentation for coordinate system conventions. frame["transform_matrix"] = [ [frame_json["t_20"], frame_json["t_21"], frame_json["t_22"], frame_json["t_23"]],