Commit 6ee8c58c authored by acyen's avatar acyen Committed by Vladislav Sovrasov

Fix test.

parent a6592b07
......@@ -40,7 +40,7 @@ PERF_TEST_P(surf, extract, testing::Values(SURF_IMAGES))
Ptr<SURF> detector = SURF::create();
vector<KeyPoint> points;
vector<float> descriptors;
Mat descriptors;
detector->detect(frame, points, mask);
TEST_CYCLE() detector->compute(frame, points, descriptors);
......@@ -58,7 +58,7 @@ PERF_TEST_P(surf, full, testing::Values(SURF_IMAGES))
declare.in(frame).time(90);
Ptr<SURF> detector = SURF::create();
vector<KeyPoint> points;
vector<float> descriptors;
Mat descriptors;
TEST_CYCLE() detector->detectAndCompute(frame, mask, points, descriptors, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment