Upate test ransac

This commit is contained in:
edgarriba 2014-07-09 17:39:32 +02:00
parent a5d40d7674
commit 9abcd88435

View File

@ -135,7 +135,7 @@ protected:
} }
solvePnPRansac(points, projectedPoints, intrinsics, distCoeffs, rvec, tvec, solvePnPRansac(points, projectedPoints, intrinsics, distCoeffs, rvec, tvec,
false, 500, 0.5, -1, inliers, method); false, 500, 0.5, 0.99, inliers, method);
bool isTestSuccess = inliers.size() >= points.size()*0.95; bool isTestSuccess = inliers.size() >= points.size()*0.95;
@ -239,7 +239,7 @@ protected:
} }
}; };
TEST(DISABLED_Calib3d_SolvePnPRansac, accuracy) { CV_solvePnPRansac_Test test; test.safe_run(); } TEST(Calib3d_SolvePnPRansac, accuracy) { CV_solvePnPRansac_Test test; test.safe_run(); }
TEST(Calib3d_SolvePnP, accuracy) { CV_solvePnP_Test test; test.safe_run(); } TEST(Calib3d_SolvePnP, accuracy) { CV_solvePnP_Test test; test.safe_run(); }