cerr<<" - Only handles cascade classifier models, trained with the opencv_traincascade tool, containing stumps as decision trees [default settings]."<<endl;
cerr<<" - The image provided needs to be a sample window with the original model dimensions, passed to the --image parameter."<<endl;
cerr<<" - ONLY handles HAAR and LBP features."<<endl;
}
intmain(intargc,constchar**argv)
intmain(intargc,constchar**argv)
{
{
CommandLineParserparser(argc,argv,
CommandLineParserparser(argc,argv,
@ -90,6 +90,7 @@ int main( int argc, const char** argv )
// Read in the input arguments
// Read in the input arguments
if(parser.has("help")){
if(parser.has("help")){
parser.printMessage();
parser.printMessage();
printLimits();
return0;
return0;
}
}
stringmodel(parser.get<string>("model"));
stringmodel(parser.get<string>("model"));
@ -97,6 +98,7 @@ int main( int argc, const char** argv )