mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 04:25:42 +08:00
cuda: disable code using obsolete objdetect API
This commit is contained in:
@@ -316,7 +316,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1,
|
||||
{
|
||||
cv::Mat flow;
|
||||
|
||||
cv::Ptr<cv::DualTVL1OpticalFlow> alg = cv::createOptFlow_DualTVL1();
|
||||
cv::Ptr<cv::optflow::DualTVL1OpticalFlow> alg = cv::optflow::createOptFlow_DualTVL1();
|
||||
alg->setMedianFiltering(1);
|
||||
alg->setInnerIterations(1);
|
||||
alg->setOuterIterations(300);
|
||||
|
Reference in New Issue
Block a user