10 #ifndef WAI_ORBVOCABULARY_H
11 #define WAI_ORBVOCABULARY_H
19 # include <vocabulary_creator.h>
21 # include <orb_slam/ORBVocabulary.h>
28 WAIBowVector(std::vector<int> wid, std::vector<float> values);
33 DBoW2::BowVector
data;
46 DBoW2::FeatureVector
data;
56 void loadFromFile(std::string strVocFile);
57 void create(std::vector<cv::Mat>& features,
int k,
int l);
60 fbow::Vocabulary* _vocabulary =
nullptr;
62 ORB_SLAM2::ORBVocabulary* _vocabulary =
nullptr;
67 void save(std::string path);
fbow::fBow & getWordScoreMapping()
fbow::fBow2 & getFeatMapping()