From 6a50784106739ad8424e5ad1c6eb422a58b250e8 Mon Sep 17 00:00:00 2001 From: bkerbl Date: Mon, 10 Jul 2023 14:40:51 +0200 Subject: [PATCH] Better camera model error message --- scene/dataset_readers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/dataset_readers.py b/scene/dataset_readers.py index 5a64a9b..31b4bba 100644 --- a/scene/dataset_readers.py +++ b/scene/dataset_readers.py @@ -92,7 +92,7 @@ def readColmapCameras(cam_extrinsics, cam_intrinsics, images_folder): FovY = focal2fov(focal_length_y, height) FovX = focal2fov(focal_length_x, width) else: - assert False, "Colmap camera model not handled!" + assert False, "Colmap camera model not handled: only undistorted datasets (PINHOLE or SIMPLE_PINHOLE cameras) supported!" image_path = os.path.join(images_folder, os.path.basename(extr.name)) image_name = os.path.basename(image_path).split(".")[0]