Consistent naming for depth maps in Polycam (#1352)

This commit is contained in:
ManuConcepBrito authored and GitHub committed 2023-02-05 11:04:53 -08:00
1 parent 9f5da51319
commit cddf6a6569
1 file changed
+1 -1
+1 -1
View File
@@ -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"]],