mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
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:
1 parent
24d02515a9
commit
293d8f3811
1 file changed
+1
-1
@@ -68,7 +68,7 @@ def metashape_to_json(
|
|||||||
if sensor_type.count(sensor_type[0]) != len(sensor_type):
|
if sensor_type.count(sensor_type[0]) != len(sensor_type):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"All Metashape sensors do not have the same sensor type. "
|
"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 = {}
|
data = {}
|
||||||
if sensor_type[0] == "frame":
|
if sensor_type[0] == "frame":
|
||||||
|
|||||||
Reference in new issue
Block a user