From 389f2c50445aaf81605a74f6ecd506b47a68e79d Mon Sep 17 00:00:00 2001 From: Hamdi Sahloul Date: Tue, 6 Feb 2018 21:23:18 +0900 Subject: [PATCH] Expose matchGMS to Python binder --- modules/xfeatures2d/include/opencv2/xfeatures2d.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp b/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp index 56ec61d2e..fcfd9c72a 100644 --- a/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp +++ b/modules/xfeatures2d/include/opencv2/xfeatures2d.hpp @@ -986,8 +986,8 @@ CV_EXPORTS void FASTForPointSet( InputArray image, CV_IN_OUT std::vector& keypoints1, const std::vector& keypoints2, - const std::vector& matches1to2, std::vector& matchesGMS, const bool withRotation = false, +CV_EXPORTS_W void matchGMS( const Size& size1, const Size& size2, const std::vector& keypoints1, const std::vector& keypoints2, + const std::vector& matches1to2, CV_OUT std::vector& matchesGMS, const bool withRotation = false, const bool withScale = false, const double thresholdFactor = 6.0 ); //! @}