From ac8684f236f1771af8209da44e38bb7839c20dbe Mon Sep 17 00:00:00 2001 From: Miquel Massot Date: Thu, 27 Apr 2023 11:39:30 +0100 Subject: [PATCH] Fix mono camera calibration filename generation --- src/correct_images/corrector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/correct_images/corrector.py b/src/correct_images/corrector.py index 3c6174b8..ef74840c 100644 --- a/src/correct_images/corrector.py +++ b/src/correct_images/corrector.py @@ -1213,7 +1213,7 @@ def process_correction(self): # check for calibration file if distortion correction needed if self.undistort: camera_params_folder = Path(self.path_processed).parents[0] / "calibration" - camera_params_filename = "mono" + self.camera_name + ".yaml" + camera_params_filename = "mono_" + self.camera_name + ".yaml" camera_params_file_path = camera_params_folder / camera_params_filename if not camera_params_file_path.exists():