From 5a439c0ab697b5168f8b36aa9bdeb9f2b9d188e2 Mon Sep 17 00:00:00 2001 From: Stephen Mather Date: Mon, 11 Mar 2024 22:56:48 -0400 Subject: [PATCH] replace fisheye with fisheye_opencv but keep API the same until 4.0 --- opendm/photo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opendm/photo.py b/opendm/photo.py index a7e638be..0baaf259 100644 --- a/opendm/photo.py +++ b/opendm/photo.py @@ -430,7 +430,8 @@ class ODM_Photo: camera_projection = camera_projection.lower() # Parrot Sequoia's "fisheye" model maps to "fisheye_opencv" - if camera_projection == "fisheye" and self.camera_make.lower() == "parrot" and self.camera_model.lower() == "sequoia": + # or better yet, replace all fisheye with fisheye_opencv, but wait to change API signature + if camera_projection == "fisheye": camera_projection = "fisheye_opencv" if camera_projection in projections: