From 28bca0ad8f77b59f03a511fde67e6a023c5fca59 Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Wed, 1 Dec 2010 00:32:54 +0000 Subject: [PATCH] add docs to feature matching --- samples/cpp/matcher_simple.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/samples/cpp/matcher_simple.cpp b/samples/cpp/matcher_simple.cpp index 3c9b3ee..77b5ab6 100644 --- a/samples/cpp/matcher_simple.cpp +++ b/samples/cpp/matcher_simple.cpp @@ -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 \n"); +} + int main(int argc, char** argv) { if(argc != 3) { - printf("Usage: matcher_simple \n"); + help(); return -1; } -- 2.7.4