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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user