mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[nodes] new ApplyCalibration node for aliceVision_applyCalibration software
This commit is contained in:
parent
861a1c9f27
commit
53cc8898c1
1 changed files with 38 additions and 0 deletions
38
meshroom/nodes/aliceVision/ApplyCalibration.py
Normal file
38
meshroom/nodes/aliceVision/ApplyCalibration.py
Normal file
|
@ -0,0 +1,38 @@
|
|||
__version__ = "1.0"
|
||||
|
||||
from meshroom.core import desc
|
||||
|
||||
class ApplyCalibration(desc.AVCommandLineNode):
|
||||
commandLine = 'aliceVision_applyCalibration {allParams}'
|
||||
|
||||
category = 'Utils'
|
||||
documentation = '''
|
||||
Overwrite intrinsics with a calibrated intrinsic.
|
||||
'''
|
||||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input SfMData',
|
||||
description='SfMData file.',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='calibration',
|
||||
label='Calibration',
|
||||
description='Calibration SfMData file.',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name='output',
|
||||
label='SfMData File.',
|
||||
description='Path to the output sfmData file.',
|
||||
value=desc.Node.internalFolder + 'sfmData.sfm',
|
||||
uid=[],
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue