Skip to content

Commit

Permalink
fix recog
Browse files Browse the repository at this point in the history
  • Loading branch information
jhyume committed Dec 15, 2015
1 parent 206c3e6 commit 93da1a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/recog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ int
main( int argc, char **argv )
{
std::string resultString;
if (argc != 2 )
if (argc != 3 )
{
printf("Wrong Usage, please use './recog filename'\n");
printf("Wrong Usage, please use './recog database_file filename'\n");
return 1;
}
//ADD your database path here!!!
Initialize("YOUR_DATABASE_PATH");
Initialize(argv[1]);
/* printf("读文件,重建数据库. done.\n"); */
/* printf("Audio path is :%s\n",argv[1]); */
ProcessSelelct(argv[1],resultString);
ProcessSelelct(argv[2],resultString);
unInitialize();
return 0;
}

0 comments on commit 93da1a1

Please sign in to comment.