Merge pull request #6794 from jet47:cuda-modules-fixes

This commit is contained in:
Alexander Alekhin 2016-07-13 15:13:55 +00:00
commit 525e04cfcc

View File

@ -104,7 +104,7 @@ namespace
} }
BufferPool pool(Stream::Null()); BufferPool pool(Stream::Null());
GpuMat d_keypoints = pool.getBuffer(ROWS_COUNT, max_npoints_, CV_16SC2); GpuMat d_keypoints = pool.getBuffer(ROWS_COUNT, max_npoints_, CV_32FC1);
detectAsync(_image, d_keypoints, _mask, Stream::Null()); detectAsync(_image, d_keypoints, _mask, Stream::Null());
convert(d_keypoints, keypoints); convert(d_keypoints, keypoints);