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

Speed up reconstruction using external initial pose estimates #924

Open
knicklicht opened this issue Jul 3, 2022 · 6 comments
Open

Speed up reconstruction using external initial pose estimates #924

knicklicht opened this issue Jul 3, 2022 · 6 comments

Comments

@knicklicht
Copy link

I noticed that the reconstruction for large scenes take a long time. Would providing initial guesses for camera poses that were aquired through some external mechanism speed up the pipeline? I am thinking of inertial measurement units or maybe even from a SLAM system rigidly attached to the camera? Where in the OpenSfM pipeline would I need to set these initial guesses?

@fabianschenk
Copy link
Contributor

Hi @knicklicht,

What operation takes the longest in your experiment? Is it really the reconstruction itself or the matching?
Did you try to split the dataset and to run OpenSfM each subset separately as described here?
If it's the matching action, then you would need to implement some strategy to find "nearby" images in order to speed up the matching.
If it's the reconstruction action, then you can try to implement something that runs the incremental reconstruction but uses a prior. Maybe this can help:

def reconstruct_from_prior(

@kielnino
Copy link
Contributor

I would also like to have the ability to insert prior pose informartion. Unfortunately reconstruct_from_prior is only suitable to add new images to an existing reconstruction.

@fabianschenk
Copy link
Contributor

Hi @kielnino ,

This is an open-source project, so if you find something lacks functionality, feel free to create a PR 😄

Best,
Fabian

@kielnino
Copy link
Contributor

@fabianschenk Sure, but then the PRs must also be accepted at some point. My other PR is waiting for a month now (#957)

Best, Johannes

@fabianschenk
Copy link
Contributor

fabianschenk commented Nov 29, 2022

Hi @kielnino ,

Fair point 😉 I imported the PR and we'll review it. As you might have guessed from the very few code changes in the last months, the development of OpenSfM has slowed down a bit on our side.

Best,
Fabian

@kielnino
Copy link
Contributor

@fabianschenk thank you. I have noticed the slow down but as the project is very mature, it is a pleasure to work with anyway. Thanks for making it public available.
Maybe I will follow your suggestion and give the implementation of prior pose import a try by myself.

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

No branches or pull requests

3 participants