From 293d8f38118e331e47d50b97164a5653d54e996f Mon Sep 17 00:00:00 2001 From: henrypearce4D <106480554+henrypearce4D@users.noreply.github.com> Date: Fri, 2 Jun 2023 07:44:08 +0100 Subject: [PATCH] Update metashape_utils.py (#2011) Changed the ValueError message when using a camera.xml that contains multiple sensors. Per-frame intrinsics can be defined, the previous message said that they were not supported. --- nerfstudio/process_data/metashape_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/process_data/metashape_utils.py b/nerfstudio/process_data/metashape_utils.py index 3acfdcde6..1445b2b70 100644 --- a/nerfstudio/process_data/metashape_utils.py +++ b/nerfstudio/process_data/metashape_utils.py @@ -68,7 +68,7 @@ def metashape_to_json( if sensor_type.count(sensor_type[0]) != len(sensor_type): raise ValueError( "All Metashape sensors do not have the same sensor type. " - "nerfstudio does not support per-frame camera_model." + "nerfstudio does support per-frame camera intrinsics, but at this current time the utility does not account for this." ) data = {} if sensor_type[0] == "frame":