Go to the documentation of this file.
31 #include <QtCore/QMultiMap>
32 #include <QtCore/QVector>
33 #include <opencv2/opencv.hpp>
43 QMultiMap<int, int>
addWords(
const cv::Mat & descriptors,
int objectId);
45 void search(
const cv::Mat & descriptors, cv::Mat & results, cv::Mat & dists,
int k);
52 void save(QDataStream & streamSessionPtr,
bool saveVocabularyOnly =
false)
const;
53 void load(QDataStream & streamSessionPtr,
bool loadVocabularyOnly =
false);
54 bool save(
const QString & filename)
const;
55 bool load(
const QString & filename);
cv::Mat notIndexedDescriptors_
const cv::Mat & indexedDescriptors() const
cv::Mat indexedDescriptors_
cv::flann::Index flannIndex_
const QMultiMap< int, int > & wordToObjects() const
QVector< int > notIndexedWordIds_
QMultiMap< int, int > addWords(const cv::Mat &descriptors, int objectId)
void search(const cv::Mat &descriptors, cv::Mat &results, cv::Mat &dists, int k)
void load(QDataStream &streamSessionPtr, bool loadVocabularyOnly=false)
QMultiMap< int, int > wordToObjects_
void save(QDataStream &streamSessionPtr, bool saveVocabularyOnly=false) const
find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Dec 12 2022 03:43:35