From 3500c940d47c0fa6c9d4c281824d20ecb8385a5c Mon Sep 17 00:00:00 2001 From: berak Date: Wed, 11 Jun 2014 11:50:22 +0200 Subject: [PATCH] add Bag of Words to python wrapper --- 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 7c04a22..02e6531 100644 --- a/modules/features2d/include/opencv2/features2d/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d/features2d.hpp @@ -1593,7 +1593,7 @@ public: vector >* pointIdxsOfClusters=0, Mat* descriptors=0 ); // compute() is not constant because DescriptorMatcher::match is not constant - CV_WRAP_AS(compute) void compute2( const Mat& image, vector& keypoints, Mat& imgDescriptor ) + CV_WRAP_AS(compute) void compute2( const Mat& image, vector& keypoints, CV_OUT Mat& imgDescriptor ) { compute(image,keypoints,imgDescriptor); } CV_WRAP int descriptorSize() const; -- 2.7.4