diff --git a/samples/cpp/matchmethod_orb_akaze_brisk.cpp b/samples/cpp/matchmethod_orb_akaze_brisk.cpp index 072b1d6781..b14abfe515 100644 --- a/samples/cpp/matchmethod_orb_akaze_brisk.cpp +++ b/samples/cpp/matchmethod_orb_akaze_brisk.cpp @@ -102,7 +102,7 @@ int main(int argc, char *argv[]) cout << "It's strange. You should use Hamming distance only for a binary descriptor\n"; cout << "**************************************************************************\n"; } - try + try { descriptorMatcher->match(descImg1, descImg2, matches, Mat()); // Keep best matches only to have a nice drawing.