fixed bug in knnMatch method

pull/13383/head
Alexander Shishkov 14 years ago
parent 9702b5ef8a
commit de93fdb1af
  1. 2
      modules/features2d/src/matchers.cpp

@ -264,7 +264,7 @@ void DescriptorMatcher::checkMasks( const vector<Mat>& masks, int queryDescripto
void DescriptorMatcher::knnMatch( const Mat& queryDescriptors, vector<vector<DMatch> >& matches, int knn,
const vector<Mat>& masks, bool compactResult )
{
matches.empty();
matches.clear();
if( empty() || queryDescriptors.empty() )
return;

Loading…
Cancel
Save