From 9530a6e5c172a4069bd69a6e530d6737e893268d Mon Sep 17 00:00:00 2001 From: manuconcepbrito Date: Sun, 5 Feb 2023 12:11:10 +0100 Subject: [PATCH] Consistent naming for depth maps in Polycam --- 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 d1887833b5..079ff16f7c 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"]],