Skip to content

Commit

Permalink
increase epsilons for some sanity tests
Browse files Browse the repository at this point in the history
(cherry picked from commit 6a6619e)
  • Loading branch information
Vladislav Vinogradov authored and asmorkalov committed Apr 19, 2015
1 parent df55be3 commit a984da9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/gpu/perf/perf_features2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ PERF_TEST_P(Image_NFeatures, Features2D_ORB,

sortKeyPoints(gpu_keypoints, gpu_descriptors);

SANITY_CHECK_KEYPOINTS(gpu_keypoints);
SANITY_CHECK_KEYPOINTS(gpu_keypoints, 1e-10);
SANITY_CHECK(gpu_descriptors);
}
else
Expand Down
4 changes: 2 additions & 2 deletions modules/gpu/perf/perf_imgproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ PERF_TEST_P(Sz_Flags, ImgProc_MulSpectrums,

TEST_CYCLE() cv::gpu::mulSpectrums(d_a, d_b, dst, flag);

GPU_SANITY_CHECK(dst);
GPU_SANITY_CHECK(dst, 2);
}
else
{
Expand Down Expand Up @@ -1045,7 +1045,7 @@ PERF_TEST_P(Sz, ImgProc_MulAndScaleSpectrums,

TEST_CYCLE() cv::gpu::mulAndScaleSpectrums(d_src1, d_src2, dst, cv::DFT_ROWS, scale, false);

GPU_SANITY_CHECK(dst);
GPU_SANITY_CHECK(dst, 1e-5);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions modules/gpu/perf/perf_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ PERF_TEST_P(ImagePair_WinSz_Levels_Iters, Video_PyrLKOpticalFlowDense,

TEST_CYCLE() d_pyrLK.dense(d_frame0, d_frame1, u, v);

GPU_SANITY_CHECK(u);
GPU_SANITY_CHECK(v);
GPU_SANITY_CHECK(u, 0.5);
GPU_SANITY_CHECK(v, 0.5);
}
else
{
Expand Down

0 comments on commit a984da9

Please sign in to comment.