Using default parameters when [ --config "" ] is used.

Updated default: sendNoObjDetectedEvents = true.
fixed mirror view when autoScale is set on/off


git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@397 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe
2014-08-28 17:54:29 +00:00
parent 17d5f4141a
commit 91c70ef181
6 changed files with 112 additions and 75 deletions
+8 -1
View File
@@ -40,7 +40,8 @@ void showUsage()
" \"in\" is the port from which the detection is received.\n"
" Options:\n"
" --host #.#.#.# Set host address.\n"
" --json \"path\" Path to an output JSON file.\n");
" --json \"path\" Path to an output JSON file.\n"
" --help Show this help.\n");
exit(-1);
}
@@ -126,6 +127,12 @@ int main(int argc, char * argv[])
continue;
}
if(strcmp(argv[i], "-help") == 0 ||
strcmp(argv[i], "--help") == 0)
{
showUsage();
}
printf("Unrecognized option: %s\n", argv[i]);
showUsage();
}