1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #5208 from ilya-lavrenov:cmd

This commit is contained in:
Alexander Alekhin
2015-08-17 10:19:53 +00:00
+1 -1
View File
@@ -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");