From 8045093cfb4f95f2ceed974fb7d9c0cd5a9c4269 Mon Sep 17 00:00:00 2001 From: Alexander Mordvintsev Date: Wed, 3 Jul 2013 22:26:18 +0400 Subject: [PATCH 1/2] GFTT wrapped to python --- modules/features2d/include/opencv2/features2d/features2d.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/features2d/include/opencv2/features2d/features2d.hpp b/modules/features2d/include/opencv2/features2d/features2d.hpp index 8d644a30ee..eeca9020d7 100644 --- a/modules/features2d/include/opencv2/features2d/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d/features2d.hpp @@ -589,10 +589,10 @@ protected: }; -class CV_EXPORTS GFTTDetector : public FeatureDetector +class CV_EXPORTS_W GFTTDetector : public FeatureDetector { public: - GFTTDetector( int maxCorners=1000, double qualityLevel=0.01, double minDistance=1, + CV_WRAP GFTTDetector( int maxCorners=1000, double qualityLevel=0.01, double minDistance=1, int blockSize=3, bool useHarrisDetector=false, double k=0.04 ); AlgorithmInfo* info() const; From 3677a66403af5ca468320399dd5606effd9fde05 Mon Sep 17 00:00:00 2001 From: Alexander Mordvintsev Date: Thu, 4 Jul 2013 17:43:38 +0400 Subject: [PATCH 2/2] line realign --- modules/features2d/include/opencv2/features2d/features2d.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features2d/include/opencv2/features2d/features2d.hpp b/modules/features2d/include/opencv2/features2d/features2d.hpp index eeca9020d7..c1967f813c 100644 --- a/modules/features2d/include/opencv2/features2d/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d/features2d.hpp @@ -593,7 +593,7 @@ class CV_EXPORTS_W GFTTDetector : public FeatureDetector { public: CV_WRAP GFTTDetector( int maxCorners=1000, double qualityLevel=0.01, double minDistance=1, - int blockSize=3, bool useHarrisDetector=false, double k=0.04 ); + int blockSize=3, bool useHarrisDetector=false, double k=0.04 ); AlgorithmInfo* info() const; protected: