From 3c3d695d4d5c0555d15b3bd78181c16a5553b895 Mon Sep 17 00:00:00 2001 From: edgarriba Date: Tue, 12 Aug 2014 18:29:43 +0200 Subject: [PATCH] Perf test update --- modules/calib3d/perf/perf_pnp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/calib3d/perf/perf_pnp.cpp b/modules/calib3d/perf/perf_pnp.cpp index 5d90c3c6d4..c9579321d2 100644 --- a/modules/calib3d/perf/perf_pnp.cpp +++ b/modules/calib3d/perf/perf_pnp.cpp @@ -51,6 +51,7 @@ PERF_TEST_P(PointsNum_Algo, solvePnP, add(points2d, noise, points2d); declare.in(points3d, points2d); + declare.time(100); TEST_CYCLE_N(1000) { @@ -58,7 +59,7 @@ PERF_TEST_P(PointsNum_Algo, solvePnP, } SANITY_CHECK(rvec, 1e-6); - SANITY_CHECK(tvec, 1e-3); + SANITY_CHECK(tvec, 1e-6); } PERF_TEST(PointsNum_Algo, solveP3P)