From 0f8faa34414e4165ff6aa94d3f29109aebd06870 Mon Sep 17 00:00:00 2001 From: Sergey Alexandrov Date: Mon, 7 Aug 2017 21:39:51 +0200 Subject: [PATCH] Minor update for example-gpu-super_resolution * Remove "simple" flow estimation from help (because it was disabled by 653bca8b) * Add `flush` after printing iteration number for better UX --- samples/gpu/super_resolution.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/gpu/super_resolution.cpp b/samples/gpu/super_resolution.cpp index 94a922cdba..2ff66ea335 100644 --- a/samples/gpu/super_resolution.cpp +++ b/samples/gpu/super_resolution.cpp @@ -60,7 +60,7 @@ int main(int argc, const char* argv[]) "{ s scale | 4 | Scale factor }" "{ i iterations | 180 | Iteration count }" "{ t temporal | 4 | Radius of the temporal search area }" - "{ f flow | farneback | Optical flow algorithm (farneback, simple, tvl1, brox, pyrlk) }" + "{ f flow | farneback | Optical flow algorithm (farneback, tvl1, brox, pyrlk) }" "{ g gpu | false | CPU as default device, cuda for CUDA }" "{ h help | false | Print help message }" ); @@ -136,7 +136,7 @@ int main(int argc, const char* argv[]) for (int i = 0;; ++i) { - cout << '[' << setw(3) << i << "] : "; + cout << '[' << setw(3) << i << "] : " << flush; Mat result; MEASURE_TIME(superRes->nextFrame(result));