1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

tapi examples - Removing defaults from all command line switches accessed with has()

This commit is contained in:
DozyC
2016-05-19 23:20:55 -07:00
parent 3db19c046b
commit 6c4aae98f7
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ using namespace cv;
int main(int argc, const char** argv)
{
CommandLineParser cmd(argc, argv,
"{ c camera | false | use camera }"
"{ c camera | | use camera }"
"{ f file | ../data/768x576.avi | input video file }"
"{ t type | mog2 | method's type (knn, mog2) }"
"{ h help | false | print help message }"
"{ h help | | print help message }"
"{ m cpu_mode | false | press 'm' to switch OpenCL<->CPU}");
if (cmd.has("help"))