Merge pull request #3217 from avdmitry:samples_cpp_data
This commit is contained in:
@@ -18,7 +18,7 @@ int main(int argc, const char** argv)
|
||||
{
|
||||
CommandLineParser cmd(argc, argv,
|
||||
"{ c camera | false | use camera }"
|
||||
"{ f file | 768x576.avi | input video file }"
|
||||
"{ f file | ../data/768x576.avi | input video file }"
|
||||
"{ t type | mog2 | method's type (knn, mog2) }"
|
||||
"{ h help | false | print help message }"
|
||||
"{ m cpu_mode | false | press 'm' to switch OpenCL<->CPU}");
|
||||
|
@@ -71,7 +71,7 @@ int main(int argc, char** argv)
|
||||
"{ h help | false | print help message }"
|
||||
"{ i input | | specify input image}"
|
||||
"{ c camera | -1 | enable camera capturing }"
|
||||
"{ v video | 768x576.avi | use video as input }"
|
||||
"{ v video | ../data/768x576.avi | use video as input }"
|
||||
"{ g gray | false | convert image to gray one or not}"
|
||||
"{ s scale | 1.0 | resize the image before detect}"
|
||||
"{ o output | | specify output path when input is images}";
|
||||
|
@@ -141,7 +141,7 @@ static UMat drawSquaresBoth( const UMat& image,
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
const char* keys =
|
||||
"{ i input | pic1.png | specify input image }"
|
||||
"{ i input | ../data/pic1.png | specify input image }"
|
||||
"{ o output | squares_output.jpg | specify output save path}"
|
||||
"{ h help | false | print help message }"
|
||||
"{ m cpu_mode | false | run without OpenCL }";
|
||||
|
Reference in New Issue
Block a user