replace fisheye with fisheye_opencv but keep API the same until 4.0

pull/1751/head
Stephen Mather 2024-03-11 22:56:48 -04:00
rodzic ffcda0dc57
commit 5a439c0ab6
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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: