From b21b24fd8a1bd59433806822fef3ea4f293f6a96 Mon Sep 17 00:00:00 2001 From: LorenaGdL Date: Wed, 11 Mar 2015 14:18:07 +0100 Subject: [PATCH] Update train_HOG.cpp Incorrect number of input arguments in main function --- samples/cpp/train_HOG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/cpp/train_HOG.cpp b/samples/cpp/train_HOG.cpp index 68c7f56aae..0a94e348c5 100644 --- a/samples/cpp/train_HOG.cpp +++ b/samples/cpp/train_HOG.cpp @@ -403,7 +403,7 @@ void test_it( const Size & size ) int main( int argc, char** argv ) { - if( argc != 4 ) + if( argc != 5 ) { cout << "Wrong number of parameters." << endl << "Usage: " << argv[0] << " pos_dir pos.lst neg_dir neg.lst" << endl