From 3715c767f781e536a9e12abdfd50a80c2121e30e Mon Sep 17 00:00:00 2001 From: Fabien Servant Date: Mon, 25 Nov 2024 16:32:08 +0100 Subject: [PATCH 1/2] Add parameters to sfmBootstraping --- meshroom/nodes/aliceVision/SfmBootstraping.py | 28 +++++++++++++++++++ meshroom/nodes/aliceVision/TracksBuilding.py | 3 ++ 2 files changed, 31 insertions(+) diff --git a/meshroom/nodes/aliceVision/SfmBootstraping.py b/meshroom/nodes/aliceVision/SfmBootstraping.py index c6f17fc8..c2eeaefb 100644 --- a/meshroom/nodes/aliceVision/SfmBootstraping.py +++ b/meshroom/nodes/aliceVision/SfmBootstraping.py @@ -31,6 +31,34 @@ class SfMBootStraping(desc.AVCommandLineNode): description="Information on pairs.", value="", ), + desc.FloatParam( + name="minAngleInitialPair", + label="Min Angle Initial Pair", + description="Minimum angle for the initial pair.", + value=5.0, + range=(0.1, 10.0, 0.1), + advanced=True, + ), + desc.FloatParam( + name="maxAngleInitialPair", + label="Max Angle Initial Pair", + description="Maximum angle for the initial pair.", + value=40.0, + range=(0.1, 60.0, 0.1), + advanced=True, + ), + desc.File( + name="initialPairA", + label="Initial Pair A", + description="View ID of the first image.", + value="", + ), + desc.File( + name="initialPairB", + label="Initial Pair B", + description="View ID of the second image.", + value="", + ), desc.ChoiceParam( name="verboseLevel", label="Verbose Level", diff --git a/meshroom/nodes/aliceVision/TracksBuilding.py b/meshroom/nodes/aliceVision/TracksBuilding.py index a3e06ccb..769069cd 100644 --- a/meshroom/nodes/aliceVision/TracksBuilding.py +++ b/meshroom/nodes/aliceVision/TracksBuilding.py @@ -19,6 +19,7 @@ It fuses all feature matches between image pairs into tracks. Each track represe label="SfMData", description="Input SfMData file.", value="", + exposed=True, ), desc.ListAttribute( elementDesc=desc.File( @@ -42,6 +43,7 @@ It fuses all feature matches between image pairs into tracks. Each track represe name="matchesFolders", label="Matches Folders", description="Folder(s) in which computed matches are stored.", + exposed=True, ), desc.ChoiceParam( name="describerTypes", @@ -51,6 +53,7 @@ It fuses all feature matches between image pairs into tracks. Each track represe value=["dspsift"], exclusive=False, joinChar=",", + exposed=True, ), desc.IntParam( name="minInputTrackLength", From cfa10d94cc544a57ec0407f604b047d3abd5db64 Mon Sep 17 00:00:00 2001 From: Fabien Servant Date: Tue, 26 Nov 2024 08:45:37 +0100 Subject: [PATCH 2/2] Change cpu and ram requirements --- meshroom/nodes/aliceVision/SfmExpanding.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meshroom/nodes/aliceVision/SfmExpanding.py b/meshroom/nodes/aliceVision/SfmExpanding.py index 73409d7b..f96cefed 100644 --- a/meshroom/nodes/aliceVision/SfmExpanding.py +++ b/meshroom/nodes/aliceVision/SfmExpanding.py @@ -8,6 +8,9 @@ class SfMExpanding(desc.AVCommandLineNode): commandLine = 'aliceVision_sfmExpanding {allParams}' size = desc.DynamicNodeSize('input') + cpu = desc.Level.INTENSIVE + ram = desc.Level.INTENSIVE + category = 'Sparse Reconstruction' documentation = ''' '''