From e96ba8140ce489e1fd85e134ad374a3dd5ce4482 Mon Sep 17 00:00:00 2001 From: vbystricky Date: Mon, 20 Jan 2014 14:50:47 +0400 Subject: [PATCH] Grow up epsilon for sanity checks --- modules/video/perf/opencl/perf_optflow_pyrlk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video/perf/opencl/perf_optflow_pyrlk.cpp b/modules/video/perf/opencl/perf_optflow_pyrlk.cpp index dc288dc..6a3f62c 100644 --- a/modules/video/perf/opencl/perf_optflow_pyrlk.cpp +++ b/modules/video/perf/opencl/perf_optflow_pyrlk.cpp @@ -83,10 +83,10 @@ OCL_PERF_TEST_P(PyrLKOpticalFlowFixture, PyrLKOpticalFlow, const Size winSize = Size(21, 21); const int maxLevel = 3; - const TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.5); + const TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01); const int flags = 0; const float minEigThreshold = 1e-4f; - const double eps = 0.5; + const double eps = 1.0; const PyrLKOpticalFlowParams params = GetParam(); const int pointsCount = get<0>(params); -- 2.7.4