Changed epsilon for hog test, because hog detector is sensible to resize accuracy.

This commit is contained in:
Alexander Karsakov
2014-04-28 11:37:46 +04:00
parent 32b25de583
commit b046210296
2 changed files with 2 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ OCL_PERF_TEST(HOGFixture, HOG)
OCL_TEST_CYCLE() hog.detectMultiScale(src, found_locations);
std::sort(found_locations.begin(), found_locations.end(), RectLess());
SANITY_CHECK(found_locations, 1 + DBL_EPSILON);
SANITY_CHECK(found_locations, 3);
}
}