Merge pull request #1694 from pierotofy/matcherfix

Always use matcher-neighbors if less than 2 pictures
pull/1696/head
Piero Toffanin 2023-09-06 10:11:09 -04:00 zatwierdzone przez GitHub
commit 340e32af8f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -227,6 +227,11 @@ class OSFMContext:
else:
matcher_graph_rounds = 50
matcher_neighbors = 0
# Always use matcher-neighbors if less than 2 pictures
if len(photos) <= 2:
matcher_graph_rounds = 0
matcher_neighbors = 2
config = [
"use_exif_size: no",