Commit 6d368dc1 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

increase epsilon for MOG2::getBackgroundImage test:

it uses float arithmetics
parent 51530d4d
...@@ -336,7 +336,7 @@ GPU_TEST_P(MOG2, getBackgroundImage) ...@@ -336,7 +336,7 @@ GPU_TEST_P(MOG2, getBackgroundImage)
cv::Mat background_gold; cv::Mat background_gold;
mog2_gold.getBackgroundImage(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( INSTANTIATE_TEST_CASE_P(GPU_Video, MOG2, testing::Combine(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment