[nodes] Use lower case for imageDescriber type and preset

This commit is contained in:
Grégoire De Lillo 2018-06-06 11:59:23 +02:00 committed by Yann Lanthony
parent 236a82ece8
commit 50f01c4222
7 changed files with 29 additions and 33 deletions

View file

@ -39,8 +39,8 @@ class CameraLocalization(desc.CommandLineNode):
name='matchDescTypes',
label='Match Desc Types',
description='''Describer types to use for the matching.''',
value=['SIFT'],
values=['SIFT', 'SIFT_FLOAT', 'AKAZE', 'AKAZE_LIOP', 'AKAZE_MLDB', 'CCTAG3', 'CCTAG4', 'SIFT_OCV', 'AKAZE_OCV'],
value=['sift'],
values=['sift', 'sift_float', 'sift_upright', 'akaze', 'akaze_liop', 'akaze_mldb', 'cctag3', 'cctag4', 'sift_ocv', 'akaze_ocv'],
exclusive=False,
uid=[0],
joinChar=',',
@ -48,9 +48,9 @@ class CameraLocalization(desc.CommandLineNode):
desc.ChoiceParam(
name='preset',
label='Preset',
description='''Preset for the feature extractor when localizing a new image {LOW,MEDIUM,NORMAL,HIGH,ULTRA}''',
value='NORMAL',
values=['LOW', 'MEDIUM', 'NORMAL', 'HIGH', 'ULTRA'],
description='''Preset for the feature extractor when localizing a new image (low, medium, normal, high, ultra)''',
value='normal',
values=['low', 'medium', 'normal', 'high', 'ultra'],
exclusive=True,
uid=[0],
),