Skip to content

Commit

Permalink
Merge pull request #1751 from smathermather/fish-aye
Browse files Browse the repository at this point in the history
replace fisheye with fisheye_opencv but keep API the same until 4.0
  • Loading branch information
pierotofy authored Mar 12, 2024
2 parents ffcda0d + 5a439c0 commit 4d7cf32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opendm/photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ def parse_exif_values(self, _path_file):
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:
Expand Down

0 comments on commit 4d7cf32

Please sign in to comment.