Meshroom/meshroom/nodes/aliceVision/CameraConnection.py
Yann Lanthony e8c579c942 [core] parallelization: introduce the notion of node 'size'
* node size is an estimation of the number of element to process on a given node, that may be used for parallelization.
* replace the explicit reference to an attribute on a node (Parallelization.inputListParamName)
* size can be:
  * dynamic: depends on the size of the node connected to a specific Attribute
  * static
2017-11-17 18:46:21 +01:00

18 lines
425 B
Python

from meshroom.core import desc
class CameraConnection(desc.CommandLineNode):
internalFolder = '{cache}/{nodeType}/{uid0}/'
commandLine = 'aliceVision_cameraConnection {allParams}'
size = desc.DynamicNodeSize('ini')
inputs = [
desc.File(
name="ini",
label='MVS Configuration file',
description='',
value='',
uid=[0],
),
]