This commit is contained in:
Konstantin Matskevich
2014-01-31 19:33:02 +04:00
parent 5c38519c65
commit 3495c5953c
3 changed files with 61 additions and 46 deletions

View File

@@ -74,10 +74,10 @@ OCL_PERF_TEST(HOGFixture, HOG)
{
UMat src;
imread(getDataPath("gpu/hog/road.png"), cv::IMREAD_GRAYSCALE).copyTo(src);
CV_Assert(!src.empty());
ASSERT_FALSE(src.empty());
vector<cv::Rect> found_locations;
declare.in(src).time(5);
declare.in(src);
HOGDescriptor hog;
hog.setSVMDetector(hog.getDefaultPeopleDetector());