DBow3
DBow3 copied to clipboard
Does DBow3 support creating vocabulary with brief descriptors?
I could not initialize the brief vocabulary file like
DBoW3::Vocabulary voc("./brief_k10L6.bin");
It may need the help of boost lib
same question, have you solved? @MerlotQ
I do not get the point here. What is the problem?
@Yvaine You may have to add a templated function like "loadbin"
` Template<class TDescriptor, class F> void TemplatedVocabulary<TDescriptor,F>::loadBin(const std::string &filename) {
m_words.clear(); m_nodes.clear(); //printf("loop load bin\n"); std::ifstream ifStream(filename); VINSLoop::Vocabulary voc; voc.deserialize(ifStream); ifStream.close(); ... ` Thats how vins deals with .bin inititialization.