add docs to feature matching

pull/13383/head
Gary Bradski 15 years ago
parent 59313f2a60
commit 28bca0ad8f
  1. 10
      samples/cpp/matcher_simple.cpp

@ -5,11 +5,19 @@
using namespace cv; using namespace cv;
void help()
{
printf("\nThis program demonstrates using features2d detector, descriptor extractor and simple matcher\n"
"Using the SURF desriptor:\n"
"\n"
"Usage: matcher_simple <image1> <image2>\n");
}
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
if(argc != 3) if(argc != 3)
{ {
printf("Usage: matcher_simple <image1> <image2>\n"); help();
return -1; return -1;
} }

Loading…
Cancel
Save