Commit 3c3d695d authored by edgarriba's avatar edgarriba

Perf test update

parent 301ed341
...@@ -51,6 +51,7 @@ PERF_TEST_P(PointsNum_Algo, solvePnP, ...@@ -51,6 +51,7 @@ PERF_TEST_P(PointsNum_Algo, solvePnP,
add(points2d, noise, points2d); add(points2d, noise, points2d);
declare.in(points3d, points2d); declare.in(points3d, points2d);
declare.time(100);
TEST_CYCLE_N(1000) TEST_CYCLE_N(1000)
{ {
...@@ -58,7 +59,7 @@ PERF_TEST_P(PointsNum_Algo, solvePnP, ...@@ -58,7 +59,7 @@ PERF_TEST_P(PointsNum_Algo, solvePnP,
} }
SANITY_CHECK(rvec, 1e-6); SANITY_CHECK(rvec, 1e-6);
SANITY_CHECK(tvec, 1e-3); SANITY_CHECK(tvec, 1e-6);
} }
PERF_TEST(PointsNum_Algo, solveP3P) PERF_TEST(PointsNum_Algo, solveP3P)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment