increase epsilon for MOG2::getBackgroundImage test:

it uses float arithmetics
pull/2548/head
Vladislav Vinogradov 11 years ago
parent 51530d4d8e
commit 6d368dc1e7
  1. 2
      modules/gpu/test/test_bgfg.cpp

@ -336,7 +336,7 @@ GPU_TEST_P(MOG2, getBackgroundImage)
cv::Mat background_gold;
mog2_gold.getBackgroundImage(background_gold);
ASSERT_MAT_NEAR(background_gold, background, 0);
ASSERT_MAT_NEAR(background_gold, background, 1);
}
INSTANTIATE_TEST_CASE_P(GPU_Video, MOG2, testing::Combine(

Loading…
Cancel
Save