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

How to add new query image without reconstruct hloc db? #28

Open
Arlen0615 opened this issue Dec 19, 2021 · 4 comments
Open

How to add new query image without reconstruct hloc db? #28

Arlen0615 opened this issue Dec 19, 2021 · 4 comments

Comments

@Arlen0615
Copy link

Hi,
Thanks for great work and it's really useful to remapping scene.

Please allow me simplify the own data process first:

  1. Prepare images of scene
  2. Run hloc to get A. db of sfm, B. matches keras model, C.pairs_info.txt(e.q. pairs-exhaustive.txt, pairs-query-netvlad50.txt)
  3. Run pixloc to localize query image

I check the code in localizer.py, it need get the id from pairs_info.txt and sfm db
self.model3d = Model3D(paths.reference_sfm)
dbs = [self.model3d.name2id[r] for r in self.retrieval[name]]

Is that mean I have to do step 2 every time once new query image added?

@lck666666
Copy link

I have the same question, if so, this is not a real-time inference.

@famfa693
Copy link

Thanks for your amazing work! I have the same question. Anyone have any thought on this? Is this a real-time 6 DOF pose estimation? What is the minimum inference time we can get from this approach? Thanks in advance.

@tieguanyin803
Copy link

I have the same question

@tsattler
Copy link
Collaborator

@Arlen0615 It is not necessary to do all parts of step 2 to localize a new image. You only need to determine which database images are relevant for the new image.

Regarding timings: No, this is not a real-time pose estimation algorithm as it is computationally quite expensive.

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

5 participants