Skip to content

Commit

Permalink
Allow different matcher with no GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Nov 15, 2021
1 parent e1a326f commit 202a66c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendm/osfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ def setup(self, args, images_path, reconstruction, append_config = [], rerun=Fal
"bruteforce": "BRUTEFORCE"
}

if not has_gps:
log.ODM_INFO("No GPS information, using BOW matching")
if not has_gps and not 'matcher_type_is_set' in args:
log.ODM_INFO("No GPS information, using BOW matching by default (you can override this by setting --matcher-type explicitely)")
matcher_type = "bow"

if matcher_type == "bow":
Expand Down

0 comments on commit 202a66c

Please sign in to comment.