add docs to feature matching
authorGary Bradski <no@email>
Wed, 1 Dec 2010 00:32:54 +0000 (00:32 +0000)
committerGary Bradski <no@email>
Wed, 1 Dec 2010 00:32:54 +0000 (00:32 +0000)
samples/cpp/matcher_simple.cpp

index 3c9b3ee..77b5ab6 100644 (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;
        }