Skip to content

Commit

Permalink
Update metashape_utils.py (nerfstudio-project#2011)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
henrypearce4D authored Jun 2, 2023
1 parent 24d0251 commit 293d8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerfstudio/process_data/metashape_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 293d8f3

Please sign in to comment.