|
|
|
@ -23,7 +23,7 @@ using namespace cv; |
|
|
|
|
static void help() |
|
|
|
|
{ |
|
|
|
|
cout << "This program demonstrated the use of the latentSVM detector." << endl << |
|
|
|
|
"It reads in a trained object models and then uses them to detect the objects in an images." << endl << |
|
|
|
|
"It reads in trained object models and then uses them to detect the objects in images." << endl << |
|
|
|
|
endl << |
|
|
|
|
"Call:" << endl << |
|
|
|
|
"./latentsvm_multidetect <imagesFolder> <modelsFolder> [<overlapThreshold>][<threadsNumber>]" << endl << |
|
|
|
@ -132,7 +132,7 @@ int main(int argc, char* argv[]) |
|
|
|
|
LatentSvmDetector detector( models_filenames ); |
|
|
|
|
if( detector.empty() ) |
|
|
|
|
{ |
|
|
|
|
cout << "Models cann't be loaded" << endl; |
|
|
|
|
cout << "Models can't be loaded" << endl; |
|
|
|
|
exit(-1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|