pixloc icon indicating copy to clipboard operation
pixloc copied to clipboard

How to add new query image without reconstruct hloc db?

Open Arlen0615 opened this issue 2 years ago • 4 comments

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?

Arlen0615 avatar Dec 19 '21 16:12 Arlen0615

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

lck666666 avatar Jan 07 '22 07:01 lck666666

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.

famfa693 avatar Jul 12 '22 18:07 famfa693

I have the same question

tieguanyin803 avatar Dec 12 '22 08:12 tieguanyin803

@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.

tsattler avatar Dec 12 '22 10:12 tsattler