increase epsilon for MOG2::getBackgroundImage test:
it uses float arithmetics
This commit is contained in:
parent
51530d4d8e
commit
6d368dc1e7
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user