add Bag of Words to python wrapper

pull/2843/head
berak 11 years ago
parent fc610979bb
commit 3500c940d4
  1. 2
      modules/features2d/include/opencv2/features2d/features2d.hpp

@ -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;

Loading…
Cancel
Save