Skip to content

Commit

Permalink
Update sfm pipeline to accept meshes
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Jan 10, 2025
1 parent aeb77d8 commit eb9478c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
10 changes: 9 additions & 1 deletion meshroom/nodes/aliceVision/RelativePoseEstimating.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.0"
__version__ = "3.0"

from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
Expand Down Expand Up @@ -34,6 +34,14 @@ class RelativePoseEstimating(desc.AVCommandLineNode):
description="Enforce pure rotation as a model",
value=False,
),
desc.IntParam(
name="countIterations",
label="Ransac max iterations",
description="Maximal number of iterations.",
value=1024,
range=(1024, 500000, 1),
advanced=True,
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
Expand Down
6 changes: 6 additions & 0 deletions meshroom/nodes/aliceVision/SfmBootstraping.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ class SfMBootStraping(desc.AVCommandLineNode):
description="Tracks file.",
value="",
),
desc.File(
name="meshFilename",
label="Mesh File",
description="Mesh file (*.obj).",
value="",
),
desc.File(
name="pairs",
label="Pairs File",
Expand Down
6 changes: 6 additions & 0 deletions meshroom/nodes/aliceVision/SfmExpanding.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class SfMExpanding(desc.AVCommandLineNode):
description="Tracks file.",
value="",
),
desc.File(
name="meshFilename",
label="Mesh File",
description="Mesh file (*.obj).",
value="",
),
desc.IntParam(
name="localizerEstimatorMaxIterations",
label="Localizer Max Ransac Iterations",
Expand Down
2 changes: 1 addition & 1 deletion meshroom/pipelines/nodalCameraTracking.mg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ImageSegmentationBox": "0.1",
"NodalSfM": "2.0",
"Publish": "1.3",
"RelativePoseEstimating": "2.0",
"RelativePoseEstimating": "3.0",
"ScenePreview": "2.0",
"TracksBuilding": "1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ImageSegmentationBox": "0.1",
"NodalSfM": "2.0",
"Publish": "1.3",
"RelativePoseEstimating": "2.0",
"RelativePoseEstimating": "3.0",
"ScenePreview": "2.0",
"TracksBuilding": "1.0"
}
Expand Down

0 comments on commit eb9478c

Please sign in to comment.