1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

increase epsilon for solvePnPRansac function

(cherry picked from commit 9d2d173485)
This commit is contained in:
Vladislav Vinogradov
2015-04-23 12:43:31 +03:00
committed by Alexander Smorkalov
parent a984da911b
commit a752f25944
+2 -2
View File
@@ -298,8 +298,8 @@ GPU_TEST_P(SolvePnPRansac, Accuracy)
camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)),
rvec, tvec, false, 200, 2.f, 100, &inliers);
ASSERT_LE(cv::norm(rvec - rvec_gold), 1e-3);
ASSERT_LE(cv::norm(tvec - tvec_gold), 1e-3);
ASSERT_LE(cv::norm(rvec - rvec_gold), 2e-3);
ASSERT_LE(cv::norm(tvec - tvec_gold), 2e-3);
}
INSTANTIATE_TEST_CASE_P(GPU_Calib3D, SolvePnPRansac, ALL_DEVICES);