We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61cbb44 commit 7a0ddd8Copy full SHA for 7a0ddd8
modules/cudaoptflow/src/pyrlk.cpp
@@ -333,7 +333,7 @@ namespace
333
GpuMat& nextPts = _nextPts.getGpuMatRef();
334
GpuMat& status = _status.getGpuMatRef();
335
GpuMat* err = _err.needed() ? &(_err.getGpuMatRef()) : NULL;
336
- if (_prevImg.kind() == _InputArray::STD_VECTOR_CUDA_GPU_MAT && _prevImg.kind() == _InputArray::STD_VECTOR_CUDA_GPU_MAT)
+ if (_prevImg.kind() == _InputArray::STD_VECTOR_CUDA_GPU_MAT && _nextImg.kind() == _InputArray::STD_VECTOR_CUDA_GPU_MAT)
337
{
338
std::vector<GpuMat> prevPyr, nextPyr;
339
_prevImg.getGpuMatVector(prevPyr);
0 commit comments