[opencv] 61/89: perf: remove tvl1 check for magic numbers, reduce number of samples

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sat May 13 09:57:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 2.4.13.2
in repository opencv.

commit 10d1b33a808f298a0ae0740968145df3179c2ce2
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Thu Nov 10 15:41:44 2016 +0300

    perf: remove tvl1 check for magic numbers, reduce number of samples
---
 modules/video/perf/perf_tvl1optflow.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video/perf/perf_tvl1optflow.cpp b/modules/video/perf/perf_tvl1optflow.cpp
index 36f16d9..4895ff4 100644
--- a/modules/video/perf/perf_tvl1optflow.cpp
+++ b/modules/video/perf/perf_tvl1optflow.cpp
@@ -24,7 +24,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1, testing::Values(impair("cv/optflow/
 
     Ptr<DenseOpticalFlow> tvl1 = createOptFlow_DualTVL1();
 
-    TEST_CYCLE_N(10) tvl1->calc(frame1, frame2, flow);
+    TEST_CYCLE() tvl1->calc(frame1, frame2, flow);
 
-    SANITY_CHECK(flow, 0.5);
+    SANITY_CHECK_NOTHING();
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list