modified features2d interface; added algorithmic test for DescriptorMatcher; added sample on matching to many images
This commit is contained in:
@@ -35,9 +35,8 @@ int main(int argc, char** argv)
|
||||
|
||||
// matching descriptors
|
||||
BruteForceMatcher<L2<float> > matcher;
|
||||
vector<int> matches;
|
||||
matcher.add(descriptors2);
|
||||
matcher.match(descriptors1, matches);
|
||||
vector<DMatch> matches;
|
||||
matcher.match(descriptors1, descriptors2, matches);
|
||||
|
||||
// drawing the results
|
||||
namedWindow("matches", 1);
|
||||
|
Reference in New Issue
Block a user