Add sanity checks to calib3d perf tests

This commit is contained in:
Andrey Kamaev 2012-10-09 13:25:59 +04:00
parent 7c71c8fa52
commit f8672d49a0

View File

@ -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);
}
SANITY_CHECK(rvec, 1e-6);
SANITY_CHECK(tvec, 1e-6);
}