[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

@ -46,9 +46,8 @@ class CameraRigLocalization(desc.CommandLineNode):
name='matchDescTypes',
label='Match Describer Types',
description='''The 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=',',
@ -56,9 +55,9 @@ class CameraRigLocalization(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],
),