Commit e4e6da3e authored by Gary Bradski's avatar Gary Bradski

cascade converstion output

parent 4d5149e1
......@@ -4,6 +4,12 @@
#include <ctype.h>
#include <stdio.h>
void help()
{
printf( "Usage:\n" ""
"./convert_cascade --size=\"<width>x<height>\" input_cascade_path output_cascade_filename\n" );
}
int main( int argc, char** argv )
{
const char* size_opt = "--size=";
......@@ -13,7 +19,7 @@ int main( int argc, char** argv )
if( argc != 4 || strncmp( argv[1], size_opt, strlen(size_opt) ) != 0 )
{
printf( "Usage: convert_cascade --size=\"<width>x<height>\" input_cascade_path output_cascade_filename\n" );
help();
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment