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 create a Superpoint vocabulary? #44

Open
antithing opened this issue Apr 3, 2023 · 3 comments
Open

How to create a Superpoint vocabulary? #44

antithing opened this issue Apr 3, 2023 · 3 comments

Comments

@antithing
Copy link

antithing commented Apr 3, 2023

Hi, i am building a relocalization system using Superpoint deep features.

Can i just follow the steps in this repo, but use the 256 bit descriptor? Will this cause any issues? or will it 'just work?'

Thank you!

@antithing
Copy link
Author

adding to this.. I have created a vocabulary successfully, but when load it and try to use it, I see that that :

_voc.getDescSize() == 1024

when i would expect 256 (as that is the cols of a superpoint descriptor).

I used the example code in the fbow repo, what have i done wrong?

Thanks!

@ThomasZiegler
Copy link

I came across the same problem with the descriptor size being four times bigger than expected. Reason can be seen here

_descNBytes=features[0].cols* features[0].elemSize();

The return descriptor size is the number of descriptors times the number of bytes per descriptor. I.e. if the descriptor uses float (32 bits = 4 bytes).

@llllzq
Copy link

llllzq commented Jan 30, 2024

Do you meet the problem that the output of two pic fbow:fbow:score is 0?

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