Commit 8e5ce69e authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5208 from ilya-lavrenov:cmd

parents 9b0f5e61 7da16d6f
......@@ -496,7 +496,7 @@ using namespace std;
int main(int argc, char** argv)
{
cv::CommandLineParser parser(argc, argv, keys);
bool useCamera = parser.has("camera");
bool useCamera = parser.get<bool>("camera");
string file = parser.get<string>("file");
bool showHelp = parser.get<bool>("help");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment