Closed PKehnel closed 3 years ago
Sure, here is how I would do it:
extract_features
on the folder of query images, pointing to the same feature file as the reference images;match_features
using this list of pairs, pointing to the same match file as the reference images;localize_sfm
:)Thanks for the advice, this seems to be similar to your approach from the dev branch for 4Seasons. Will try it out! Goal is to run it in real time in a private ar application. Lets see.
Loc pairs: Since DIR on a custom dataset is not really possible for me (Issue: Unfortunately, You need to implement multi-staged backpropagation in your self.)
Would it also be possible to generate the localization pairs for the query and some references image, via similarity in the feature files? Using the descriptors and the scores in a simplified way and storing everything in a Annoy or some other similarity search database?
DIR provides pretrained models that should generalize well to multiple environments - retraining should not be needed. Alternatively, you could indeed perform image retrieval with local features using something like Bag-of-Words. ASL-Feat has an example.
Hey, thanks a lot for the amazing toolbox. I got the project working on a custom dataset, now my goal would be to use this model and the matches / feature files to localize an new image, that was not part of the original dataset.
Any ideas how to approach this, obviously I get an Object missing error, when just using the previous matches /feature files. Hope this is not out of scope.