Added ASIFT (to activate, check parameter Feature2D/Affine) (fixed issue 27)

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@385 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe
2014-08-22 22:36:09 +00:00
parent dcf406429e
commit 629b2aefaa
8 changed files with 409 additions and 144 deletions
+8
View File
@@ -102,6 +102,7 @@ void showUsage()
" --objects \"path\" Directory of the objects to detect.\n"
" --config \"path\" Path to configuration file (default: %s).\n"
" --scene \"path\" Path to a scene image file.\n"
" --debug Show debug log.\n"
" --params Show all parameters.\n"
" --My/Parameter \"value\" Set find-Object's parameter (look --params for parameters' name).\n"
" It will override the one in --config. Example to set 4 threads:\n"
@@ -209,6 +210,13 @@ int main(int argc, char* argv[])
guiMode = false;
continue;
}
if(strcmp(argv[i], "-debug") == 0 ||
strcmp(argv[i], "--debug") == 0)
{
ULogger::setPrintWhere(true);
ULogger::setLevel(ULogger::kDebug);
continue;
}
if(strcmp(argv[i], "-help") == 0 ||
strcmp(argv[i], "--help") == 0)
{