29 #ifndef WAIKEYFRAMEDB_H
30 #define WAIKEYFRAMEDB_H
37 #include <opencv2/core.hpp>
55 std::vector<std::list<WAIKeyFrame*>>&
getInvertedFile() {
return mvInvertedFile; }
62 LOOP_DETECTION_ERROR_NO_SIMILAR_CANDIDATES
64 std::vector<WAIKeyFrame*> DetectLoopCandidates(
WAIKeyFrame* pKF,
float minCommonWordFactor,
float minScore,
int* errorCode);
67 std::vector<WAIKeyFrame*> DetectRelocalizationCandidates(
WAIFrame* F,
float minCommonWordFactor,
bool applyMinAccScoreFilter =
false);
68 std::vector<WAIKeyFrame*> DetectRelocalizationCandidates(
WAIFrame* F, cv::Mat extrinsicGuess);
AR Keyframe database class.
std::vector< std::list< WAIKeyFrame * > > & getInvertedFile()
@ LOOP_DETECTION_ERROR_NONE
@ LOOP_DETECTION_ERROR_NO_CANDIDATES_WITH_COMMON_WORDS
std::vector< std::list< WAIKeyFrame * > > mvInvertedFile
void clear(std::string path)