add docs to feature matching

This commit is contained in:
Gary Bradski 2010-12-01 00:32:54 +00:00
parent 59313f2a60
commit 28bca0ad8f

View File

@ -5,11 +5,19 @@
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)
{
if(argc != 3)
{
printf("Usage: matcher_simple <image1> <image2>\n");
help();
return -1;
}