forgot to escape after 'help'
This commit is contained in:
parent
c1a862f175
commit
cd94b8c00e
@ -12,7 +12,7 @@ using namespace std;
|
|||||||
|
|
||||||
enum { DETECTION = 0, CAPTURING = 1, CALIBRATED = 2 };
|
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"
|
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;
|
vector<string> imageList;
|
||||||
|
|
||||||
if(argc < 2)
|
if(argc < 2)
|
||||||
test();
|
{
|
||||||
|
help();
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
for( i = 1; i < argc; i++ )
|
for( i = 1; i < argc; i++ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user