1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

adding usage information

This commit is contained in:
StevenPuttemans
2015-03-06 13:47:43 +01:00
parent 2c57717ca2
commit 3419c704a9
+9
View File
@@ -152,6 +152,15 @@ void get_annotations(Mat input_image, stringstream* output_stream)
int main( int argc, const char** argv )
{
// If no arguments are given, then supply some information on how this tool works
if( argc == 1 ){
cout << "Usage: " << argv[0] << endl;
cout << " -images <folder_location> [example - /data/testimages/]" << endl;
cout << " -annotations <ouput_file> [example - /data/annotations.txt]" << endl;
return -1;
}
// Read in the input arguments
string image_folder;
string annotations;