Skip to content

Commit a5ea588

Browse files
committed
Merge pull request opencv#9328 from taketwo:example-superres-fix
2 parents 87c27a0 + 0f8faa3 commit a5ea588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/gpu/super_resolution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int main(int argc, const char* argv[])
6060
"{ s scale | 4 | Scale factor }"
6161
"{ i iterations | 180 | Iteration count }"
6262
"{ t temporal | 4 | Radius of the temporal search area }"
63-
"{ f flow | farneback | Optical flow algorithm (farneback, simple, tvl1, brox, pyrlk) }"
63+
"{ f flow | farneback | Optical flow algorithm (farneback, tvl1, brox, pyrlk) }"
6464
"{ g gpu | false | CPU as default device, cuda for CUDA }"
6565
"{ h help | false | Print help message }"
6666
);
@@ -136,7 +136,7 @@ int main(int argc, const char* argv[])
136136

137137
for (int i = 0;; ++i)
138138
{
139-
cout << '[' << setw(3) << i << "] : ";
139+
cout << '[' << setw(3) << i << "] : " << flush;
140140
Mat result;
141141

142142
MEASURE_TIME(superRes->nextFrame(result));

0 commit comments

Comments
 (0)