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

add default file to load in case sample was run without command line arguments

This commit is contained in:
Tzafrir
2015-01-06 16:13:46 +02:00
parent 28833421ae
commit 997dded1ac
5 changed files with 37 additions and 16 deletions
+2 -2
View File
@@ -119,8 +119,8 @@ int main(int argc, const char* argv[])
{
const char* keys =
"{ h help | | print help message }"
"{ l left | | specify left image }"
"{ r right | | specify right image }"
"{ l left | ../data/pic1.png | specify left image }"
"{ r right | ../data/pic2.png | specify right image }"
"{ gray | | use grayscale sources [PyrLK Sparse] }"
"{ win_size | 21 | specify windows size [PyrLK] }"
"{ max_level | 3 | specify max level [PyrLK] }"