Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sfm pipeline to accept meshes #2642

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading