10 #include <opencv2/core/types.hpp> 11 #include <opencv2/core/mat.hpp> 22 PyMatcher(
const std::string & pythonMatcherPath,
26 const std::string &
model =
"indoor");
35 std::vector<cv::DMatch>
match(
36 const cv::Mat & descriptorsQuery,
37 const cv::Mat & descriptorsTrain,
38 const std::vector<cv::KeyPoint> & keypointsQuery,
39 const std::vector<cv::KeyPoint> & keypointsTrain,
40 const cv::Size & imageSize);
const std::string & model() const
const std::string & path() const
PyMatcher(const std::string &pythonMatcherPath, float matchThreshold=0.2f, int iterations=20, bool cuda=true, const std::string &model="indoor")
float matchThreshold() const
std::vector< cv::DMatch > match(const cv::Mat &descriptorsQuery, const cv::Mat &descriptorsTrain, const std::vector< cv::KeyPoint > &keypointsQuery, const std::vector< cv::KeyPoint > &keypointsTrain, const cv::Size &imageSize)