Update config.py

Add AKAZE to --feature-type, re-order --feature-type to be alphabetical, Add bruteforce to --matcher-type, re-order --matcher-type to be alphabetical, add description for bruteforce.
pull/1362/head
Saijin-Naib 2021-11-09 16:51:46 -05:00 zatwierdzone przez Piero Toffanin
rodzic 11f42102e2
commit f4985026de
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -133,7 +133,7 @@ def config(argv=None, parser=None):
metavar='<string>',
action=StoreValue,
default='sift',
choices=['sift', 'orb', 'hahog'],
choices=['akaze', 'hahog', 'orb', 'sift'],
help=('Choose the algorithm for extracting keypoints and computing descriptors. '
'Can be one of: %(choices)s. Default: '
'%(default)s'))
@ -151,8 +151,8 @@ def config(argv=None, parser=None):
metavar='<string>',
action=StoreValue,
default='flann',
choices=['flann', 'bow'],
help=('Matcher algorithm, Fast Library for Approximate Nearest Neighbors or Bag of Words. FLANN is slower, but more stable. BOW is faster, but can sometimes miss valid matches. '
choices=['bow', 'bruteforce'. 'flann'],
help=('Matcher algorithm, Fast Library for Approximate Nearest Neighbors or Bag of Words. FLANN is slower, but more stable. BOW is faster, but can sometimes miss valid matches. BRUTEFORCE is very slow but robust.'
'Can be one of: %(choices)s. Default: '
'%(default)s'))