Commit f8672d49 authored by Andrey Kamaev's avatar Andrey Kamaev

Add sanity checks to calib3d perf tests

parent 7c71c8fa
...@@ -125,4 +125,7 @@ PERF_TEST_P(PointsNum, SolvePnPRansac, testing::Values(4, 3*9, 7*13)) ...@@ -125,4 +125,7 @@ PERF_TEST_P(PointsNum, SolvePnPRansac, testing::Values(4, 3*9, 7*13))
{ {
solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec); solvePnPRansac(object, image, camera_mat, dist_coef, rvec, tvec);
} }
SANITY_CHECK(rvec, 1e-6);
SANITY_CHECK(tvec, 1e-6);
} }
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