未验证 提交 b56a52c4 编写于 作者: A Alexander Smorkalov 提交者: GitHub

Merge pull request #22471 from anna-khakimova:ak/fix_resize4lpi_tests

Increasing tolerance for Preproc4lpiTest set on ARM
......@@ -829,7 +829,11 @@ TEST_P(Preproc4lpiTest, Test)
cv::cvtColor(in_mat, rgb_mat, cv::COLOR_YUV2RGB_NV12);
cv::resize(rgb_mat, out_mat_ocv, out_sz, 0, 0, interp);
#if defined(__arm__) || defined(__aarch64__)
EXPECT_GE(2, cvtest::norm(out_mat(roi), out_mat_ocv(roi), NORM_INF));
#else
EXPECT_EQ(0, cvtest::norm(out_mat(roi), out_mat_ocv(roi), NORM_INF));
#endif
}
INSTANTIATE_TEST_CASE_P(Fluid, Preproc4lpiTest,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册