Commit 14694343 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed gpu PyrLKSparse perf test

parent 0adbead6
......@@ -219,7 +219,7 @@ PERF_TEST_P(ImagePair_Gray_NPts_WinSz_Levels_Iters, Video_PyrLKOpticalFlowSparse
if (runOnGpu)
{
cv::gpu::GpuMat d_pts(pts);
cv::gpu::GpuMat d_pts(pts.reshape(2, 1));
cv::gpu::PyrLKOpticalFlow d_pyrLK;
d_pyrLK.winSize = cv::Size(winSize, winSize);
......
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