mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-17 02:56:29 +02:00
Move nodes into subfolders
This commit is contained in:
parent
85eff3509f
commit
aacdf32915
17 changed files with 23 additions and 11 deletions
70
meshroom/nodes/aliceVision/FeatureExtraction.py
Normal file
70
meshroom/nodes/aliceVision/FeatureExtraction.py
Normal file
|
@ -0,0 +1,70 @@
|
|||
|
||||
from meshroom.core import desc
|
||||
|
||||
class FeatureExtraction(desc.CommandLineNode):
|
||||
internalFolder = '{cache}/{nodeType}/{uid0}/'
|
||||
commandLine = 'openMVG_main_ComputeFeatures {allParams}'
|
||||
|
||||
input_file = desc.FileAttribute(
|
||||
label='Input File',
|
||||
description='''a SfM_Data file''',
|
||||
value='',
|
||||
shortName='i',
|
||||
arg='',
|
||||
uid=[0],
|
||||
isOutput=False,
|
||||
)
|
||||
outdir = desc.FileAttribute(
|
||||
label='Outdir',
|
||||
description='''output path for the features and descriptors files (*.feat, *.desc) [Optional]''',
|
||||
value='{cache}/{nodeType}/{uid0}/',
|
||||
shortName='o',
|
||||
arg='path',
|
||||
uid=[0],
|
||||
isOutput=True,
|
||||
)
|
||||
force = desc.ParamAttribute(
|
||||
label='Force',
|
||||
description='''Force to recompute data''',
|
||||
value='',
|
||||
shortName='f',
|
||||
arg='',
|
||||
uid=[0],
|
||||
isOutput=False,
|
||||
)
|
||||
describerMethods = desc.ParamAttribute(
|
||||
label='Describer Methods',
|
||||
description='''(methods to use to describe an image): SIFT (default), SIFT_FLOAT to use SIFT stored as float, AKAZE: AKAZE with floating point descriptors, AKAZE_MLDB: AKAZE with binary descriptors''',
|
||||
value='',
|
||||
shortName='m',
|
||||
arg='',
|
||||
uid=[0],
|
||||
isOutput=False,
|
||||
)
|
||||
upright = desc.ParamAttribute(
|
||||
label='Upright',
|
||||
description='''Use Upright feature 0 or 1''',
|
||||
value='',
|
||||
shortName='u',
|
||||
arg='',
|
||||
uid=[0],
|
||||
isOutput=False,
|
||||
)
|
||||
describerPreset = desc.ParamAttribute(
|
||||
label='Describer Preset',
|
||||
description='''(used to control the Image_describer configuration): LOW, MEDIUM, NORMAL (default), HIGH, ULTRA: !!Can take long time!!''',
|
||||
value='',
|
||||
shortName='p',
|
||||
arg='',
|
||||
uid=[0],
|
||||
isOutput=False,
|
||||
)
|
||||
jobs = desc.ParamAttribute(
|
||||
label='Jobs',
|
||||
description='''Specifies the number of jobs to run simultaneously. Use -j 0 for automatic mode. Unrecognized option --help''',
|
||||
value='',
|
||||
shortName='j',
|
||||
arg='',
|
||||
uid=[0],
|
||||
isOutput=False,
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue