removed legacy header
This commit is contained in:
parent
62fed8b7b2
commit
df8f1a4355
@ -41,7 +41,6 @@
|
|||||||
//M*/
|
//M*/
|
||||||
|
|
||||||
#include "perf_precomp.hpp"
|
#include "perf_precomp.hpp"
|
||||||
#include "opencv2/legacy.hpp"
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace testing;
|
using namespace testing;
|
||||||
@ -373,16 +372,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cv::Mat flow;
|
FAIL_NO_CPU();
|
||||||
|
|
||||||
cv::Ptr<cv::DenseOpticalFlow> alg = cv::createOptFlow_DualTVL1();
|
|
||||||
alg->set("medianFiltering", 1);
|
|
||||||
alg->set("innerIterations", 1);
|
|
||||||
alg->set("outerIterations", 300);
|
|
||||||
|
|
||||||
TEST_CYCLE() alg->calc(frame0, frame1, flow);
|
|
||||||
|
|
||||||
CPU_SANITY_CHECK(flow);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
//M*/
|
//M*/
|
||||||
|
|
||||||
#include "test_precomp.hpp"
|
#include "test_precomp.hpp"
|
||||||
#include "opencv2/legacy.hpp"
|
|
||||||
|
|
||||||
#ifdef HAVE_CUDA
|
#ifdef HAVE_CUDA
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user