invalid argument cv::cuda::SparseOpticalFlow::calc

asked 2019-04-15 21:47:25 -0500

  1. version opencv-3.2.0 2.code: cv::cuda::GpuMat gpu_corners, status;
    cv::cuda::GpuMat gpu_gray_roi = gray(rect); _gpu_corners_detector->detect(gpu_gray_roi, gpu_corners); _gpu_optical_flow->calc(gpu_gray_roi, gpu_gray_roi, gpu_corners, gpu_corners, status);

  2. error: OpenCV Error: Gpu API call (invalid argument) in cv::cuda::device::bindTexture, file C:\Users\TC\Desktop\opencv-3.2.0\modules\core\include\opencv2/core/cuda/common.hpp, line 102

My question is wath type should the argument be?

edit retag flag offensive close merge delete