projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59313f2
)
add docs to feature matching
author
Gary Bradski
<no@email>
Wed, 1 Dec 2010 00:32:54 +0000
(
00:32
+0000)
committer
Gary Bradski
<no@email>
Wed, 1 Dec 2010 00:32:54 +0000
(
00:32
+0000)
samples/cpp/matcher_simple.cpp
patch
|
blob
|
history
diff --git
a/samples/cpp/matcher_simple.cpp
b/samples/cpp/matcher_simple.cpp
index
3c9b3ee
..
77b5ab6
100644
(file)
--- 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 <image1> <image2>\n");
+}
+
int main(int argc, char** argv)
{
if(argc != 3)
{
-
printf("Usage: matcher_simple <image1> <image2>\n"
);
+
help(
);
return -1;
}