rmsalinas / fbow

FBOW (Fast Bag of Words) is an extremmely optimized version of the DBow2/DBow3 libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create a Superpoint vocabulary?

antithing opened this issue · comments

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!

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!

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

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