From 0ebd45e18826617463b6faa959975f227455096f Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Wed, 1 Dec 2010 01:59:39 +0000 Subject: [PATCH] added help and help on error --- samples/cpp/video_homography.cpp | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/samples/cpp/video_homography.cpp b/samples/cpp/video_homography.cpp index 66ad976428..52026e3ca4 100644 --- a/samples/cpp/video_homography.cpp +++ b/samples/cpp/video_homography.cpp @@ -16,6 +16,17 @@ using namespace std; using namespace cv; +void help(char **av) +{ + cout << "\n This program demonstrated the use of features2d with the Fast corner detector and brief descriptors\n" + << "to track planar objects by computing their homography from the key (training) image to the query (test) image\n\n" << endl; + cout << "usage: " << av[0] << "