Skip to content

Commit

Permalink
Merge pull request #1695 from pierotofy/matcherfix
Browse files Browse the repository at this point in the history
Fix minimum number of pictures for matcher neighbors
  • Loading branch information
pierotofy committed Sep 6, 2023
2 parents 340e32a + d2cd5d9 commit 07b641d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opendm/osfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ def setup(self, args, images_path, reconstruction, append_config = [], rerun=Fal
matcher_graph_rounds = 50
matcher_neighbors = 0

# Always use matcher-neighbors if less than 2 pictures
if len(photos) <= 2:
# Always use matcher-neighbors if less than 4 pictures
if len(photos) <= 3:
matcher_graph_rounds = 0
matcher_neighbors = 2
matcher_neighbors = 3

config = [
"use_exif_size: no",
Expand Down

0 comments on commit 07b641d

Please sign in to comment.