Changed epsilon for hog test, because hog detector is sensible to resize accuracy.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user