Skip to content

Commit

Permalink
Merge pull request #2406 from alicevision/dev/updateTracks
Browse files Browse the repository at this point in the history
Add track coordinates
  • Loading branch information
fabiencastan committed May 27, 2024
2 parents f7e612c + 2416407 commit bc139d1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 77 deletions.
24 changes: 1 addition & 23 deletions meshroom/nodes/aliceVision/NodalSfM.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0"
__version__ = "2.0"

from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
Expand All @@ -21,18 +21,6 @@ class NodalSfM(desc.AVCommandLineNode):
value="",
uid=[0],
),
desc.ListAttribute(
elementDesc=desc.File(
name="featuresFolder",
label="Features Folder",
description="",
value="",
uid=[0],
),
name="featuresFolders",
label="Features Folders",
description="Folder(s) containing the extracted features and descriptors.",
),
desc.File(
name="tracksFilename",
label="Tracks File",
Expand All @@ -47,16 +35,6 @@ class NodalSfM(desc.AVCommandLineNode):
value="",
uid=[0],
),
desc.ChoiceParam(
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
value=["dspsift"],
values=DESCRIBER_TYPES,
exclusive=False,
uid=[0],
joinChar=",",
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
Expand Down
24 changes: 1 addition & 23 deletions meshroom/nodes/aliceVision/RelativePoseEstimating.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0"
__version__ = "2.0"

from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
Expand All @@ -23,35 +23,13 @@ class RelativePoseEstimating(desc.AVCommandLineNode):
value="",
uid=[0],
),
desc.ListAttribute(
elementDesc=desc.File(
name="featuresFolder",
label="Features Folder",
description="",
value="",
uid=[0],
),
name="featuresFolders",
label="Features Folders",
description="Folder(s) containing the extracted features and descriptors.",
),
desc.File(
name="tracksFilename",
label="Tracks File",
description="Tracks file.",
value="",
uid=[0],
),
desc.ChoiceParam(
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
exclusive=False,
uid=[0],
joinChar=",",
),
desc.BoolParam(
name="enforcePureRotation",
label="Enforce pure rotation",
Expand Down
24 changes: 1 addition & 23 deletions meshroom/nodes/aliceVision/SfmBootstraping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0"
__version__ = "2.0"

from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
Expand All @@ -20,18 +20,6 @@ class SfMBootStraping(desc.AVCommandLineNode):
value="",
uid=[0],
),
desc.ListAttribute(
elementDesc=desc.File(
name="featuresFolder",
label="Features Folder",
description="",
value="",
uid=[0],
),
name="featuresFolders",
label="Features Folders",
description="Folder(s) containing the extracted features and descriptors.",
),
desc.File(
name="tracksFilename",
label="Tracks File",
Expand All @@ -46,16 +34,6 @@ class SfMBootStraping(desc.AVCommandLineNode):
value="",
uid=[0],
),
desc.ChoiceParam(
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
exclusive=False,
uid=[0],
joinChar=",",
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
Expand Down
6 changes: 2 additions & 4 deletions meshroom/pipelines/nodalCameraTracking.mg
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"Publish": "1.3",
"DistortionCalibration": "4.0",
"ImageSegmentation": "1.2",
"RelativePoseEstimating": "1.0",
"RelativePoseEstimating": "2.0",
"FeatureExtraction": "1.3",
"NodalSfM": "1.0",
"NodalSfM": "2.0",
"TracksBuilding": "1.0"
}
},
Expand Down Expand Up @@ -106,7 +106,6 @@
],
"inputs": {
"input": "{TracksBuilding_1.input}",
"featuresFolders": "{TracksBuilding_1.featuresFolders}",
"tracksFilename": "{TracksBuilding_1.output}",
"enforcePureRotation": true
},
Expand All @@ -122,7 +121,6 @@
],
"inputs": {
"input": "{RelativePoseEstimating_1.input}",
"featuresFolders": "{RelativePoseEstimating_1.featuresFolders}",
"tracksFilename": "{RelativePoseEstimating_1.tracksFilename}",
"pairs": "{RelativePoseEstimating_1.output}"
},
Expand Down
6 changes: 2 additions & 4 deletions meshroom/pipelines/nodalCameraTrackingWithoutCalibration.mg
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"CameraInit": "10.0",
"Publish": "1.3",
"ImageSegmentation": "1.2",
"RelativePoseEstimating": "1.0",
"RelativePoseEstimating": "2.0",
"FeatureExtraction": "1.3",
"NodalSfM": "1.0",
"NodalSfM": "2.0",
"TracksBuilding": "1.0"
}
},
Expand Down Expand Up @@ -102,7 +102,6 @@
],
"inputs": {
"input": "{TracksBuilding_1.input}",
"featuresFolders": "{TracksBuilding_1.featuresFolders}",
"tracksFilename": "{TracksBuilding_1.output}",
"enforcePureRotation": true
},
Expand All @@ -118,7 +117,6 @@
],
"inputs": {
"input": "{RelativePoseEstimating_1.input}",
"featuresFolders": "{RelativePoseEstimating_1.featuresFolders}",
"tracksFilename": "{RelativePoseEstimating_1.tracksFilename}",
"pairs": "{RelativePoseEstimating_1.output}"
},
Expand Down

0 comments on commit bc139d1

Please sign in to comment.