From cfb964834ce7126f29f5d9726f64824fba0a4e46 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 3 Aug 2017 19:23:03 +0300 Subject: [PATCH] stitching(perf): increase test check tolerance --- modules/stitching/perf/perf_stich.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/stitching/perf/perf_stich.cpp b/modules/stitching/perf/perf_stich.cpp index d5ee593d8c..f0ac6561ff 100644 --- a/modules/stitching/perf/perf_stich.cpp +++ b/modules/stitching/perf/perf_stich.cpp @@ -102,7 +102,7 @@ PERF_TEST_P(stitchDatasets, affine, testing::Combine(AFFINE_DATASETS, TEST_DETEC Mat pano; vector imgs; - int width, height, allowed_diff = 10; + int width, height, allowed_diff = 20; Ptr featuresFinder = getFeatureFinder(detector); if(dataset == "budapest") @@ -117,7 +117,7 @@ PERF_TEST_P(stitchDatasets, affine, testing::Combine(AFFINE_DATASETS, TEST_DETEC height = 1158; // this dataset is big, the results between surf and orb differ slightly, // but both are still good - allowed_diff = 27; + allowed_diff = 50; } else if (dataset == "newspaper") {