add Bag of Words to python wrapper
authorberak <px1704@web.de>
Wed, 11 Jun 2014 09:50:22 +0000 (11:50 +0200)
committerberak <px1704@web.de>
Wed, 11 Jun 2014 09:50:22 +0000 (11:50 +0200)
modules/features2d/include/opencv2/features2d/features2d.hpp

index 7c04a22..02e6531 100644 (file)
@@ -1593,7 +1593,7 @@ public:
                   vector<vector<int> >* 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<KeyPoint>& keypoints, Mat& imgDescriptor )
+    CV_WRAP_AS(compute) void compute2( const Mat& image, vector<KeyPoint>& keypoints, CV_OUT Mat& imgDescriptor )
     { compute(image,keypoints,imgDescriptor); }
 
     CV_WRAP int descriptorSize() const;