increase epsilon for MOG2::getBackgroundImage test:

it uses float arithmetics
This commit is contained in:
Vladislav Vinogradov 2014-03-30 18:02:03 -07:00
parent 51530d4d8e
commit 6d368dc1e7

View File

@ -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(