projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a862f
)
forgot to escape after 'help'
author
Gary Bradski
<no@email>
Tue, 23 Nov 2010 08:13:53 +0000
(08:13 +0000)
committer
Gary Bradski
<no@email>
Tue, 23 Nov 2010 08:13:53 +0000
(08:13 +0000)
samples/cpp/3calibration.cpp
patch
|
blob
|
history
diff --git
a/samples/cpp/3calibration.cpp
b/samples/cpp/3calibration.cpp
index
cc9011c
..
1da623d
100644
(file)
--- a/
samples/cpp/3calibration.cpp
+++ b/
samples/cpp/3calibration.cpp
@@
-12,7
+12,7
@@
using namespace std;
enum { DETECTION = 0, CAPTURING = 1, CALIBRATED = 2 };
-void
test
()
+void
help
()
{
printf( "This is a camera calibration sample that calibrates 3 horizontally placed cameras together.\n"
@@
-197,7
+197,10
@@
int main( int argc, char** argv )
vector<string> imageList;
if(argc < 2)
- test();
+ {
+ help();
+ return 1;
+ }
for( i = 1; i < argc; i++ )