mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 02:42:05 +02:00
[multiview] camera tracking pipeline: update edges
- DistortionCalibration in input of the FeatureMatching (instead of SfM) - Add sfmDataFilter in input of ExportAnimatedCamera
This commit is contained in:
parent
14579f766d
commit
64d27158f5
1 changed files with 4 additions and 2 deletions
|
@ -493,8 +493,8 @@ def cameraTrackingPipeline(graph, sourceSfm=None):
|
|||
distortionCalibrationT = graph.addNewNode('DistortionCalibration',
|
||||
input=cameraInitT.output)
|
||||
|
||||
graph.removeEdge(structureFromMotionT.input)
|
||||
graph.addEdge(distortionCalibrationT.outSfMData, structureFromMotionT.input)
|
||||
graph.removeEdge(featureMatchingT.input)
|
||||
graph.addEdge(distortionCalibrationT.outSfMData, featureMatchingT.input)
|
||||
|
||||
imageMatchingT.attribute("nbMatches").value = 5 # voctree nb matches
|
||||
imageMatchingT.attribute("nbNeighbors").value = 10
|
||||
|
@ -506,6 +506,8 @@ def cameraTrackingPipeline(graph, sourceSfm=None):
|
|||
structureFromMotionT.attribute("minAngleForLandmark").value = 0.5
|
||||
|
||||
exportAnimatedCameraT = graph.addNewNode('ExportAnimatedCamera', input=structureFromMotionT.output)
|
||||
if sourceSfm:
|
||||
graph.addEdge(sourceSfm.output, exportAnimatedCameraT.sfmDataFilter)
|
||||
|
||||
# store current pipeline version in graph header
|
||||
graph.header.update({'pipelineVersion': __version__})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue