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.
This commit is contained in:
henrypearce4D authored and GitHub committed 2023-06-01 23:44:08 -07:00
1 parent 24d02515a9
commit 293d8f3811
1 file changed
+1 -1
+1 -1
View File
@@ -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":