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

[bin] Fix project creation from custom pipeline #567

Merged
merged 2 commits into from
Aug 6, 2019

Conversation

simogasp
Copy link
Member

This PR fixes a problem when using a custom pipeline in meshroom_photogrammetry: the views and the intrinsics that might have been read before from the a json/sfm file were not added to the graph, thus leading to failure when calling cameraInit in AliceVision.

[11:25:25.780397][error] Program need -i or --imageFolder option

@simogasp simogasp added this to the Meshroom 2019.2.0 milestone Jul 31, 2019
@yann-lty yann-lty merged commit b0b06fd into develop Aug 6, 2019
@yann-lty yann-lty deleted the fix/customPipeline branch August 6, 2019 13:20
@@ -80,6 +80,8 @@ elif os.path.isfile(args.input) and os.path.splitext(args.input)[-1] in ('.json'
# args.input is a sfmData file: setup pre-calibrated views and intrinsics
from meshroom.nodes.aliceVision.CameraInit import readSfMData
views, intrinsics = readSfMData(args.input)
else:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an error, as args.inputImages could have been used instead of args.input.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New PR to fix it: #577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants