From 9d2d173485f15043abbfa41b030f16c11ec56dc4 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Thu, 23 Apr 2015 12:43:31 +0300 Subject: [PATCH] increase epsilon for solvePnPRansac function --- modules/gpu/test/test_calib3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gpu/test/test_calib3d.cpp b/modules/gpu/test/test_calib3d.cpp index 9d59ee7..0f4c13d 100644 --- a/modules/gpu/test/test_calib3d.cpp +++ b/modules/gpu/test/test_calib3d.cpp @@ -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); -- 2.7.4