Hi, everyone:
I want to calculate the dense optical flow on gpu by opencv, the details as following.
But I got some errors that I can't find the solution. Can anyone help me?
Thanks a lot!
In which part of the OpenCV library you got the issue?
resizing an image
Expected behaviour
I want to calculate the dense optical flow on gpu by opencv.
Actual behaviour
OpenCV Error: Gpu API call (invalid device function) in call_resize_linear_glob, file /usr/local/tools/tempfiles/opencv-2.4.11/modules/gpu/src/cuda/resize.cu, line 233
terminate called after throwing an instance of 'cv::Exception'
what(): /usr/local/tools/tempfiles/opencv-2.4.11/modules/gpu/src/cuda/resize.cu:233: error: (-217) invalid device function in function call_resize_linear_glob
Code example to reproduce the issue / Steps to reproduce the issue
Hi, everyone: I want to calculate the dense optical flow on gpu by opencv, the details as following. But I got some errors that I can't find the solution. Can anyone help me? Thanks a lot!
The information for my system
In which part of the OpenCV library you got the issue?
Expected behaviour
I want to calculate the dense optical flow on gpu by opencv.
Actual behaviour
OpenCV Error: Gpu API call (invalid device function) in call_resize_linear_glob, file /usr/local/tools/tempfiles/opencv-2.4.11/modules/gpu/src/cuda/resize.cu, line 233 terminate called after throwing an instance of 'cv::Exception' what(): /usr/local/tools/tempfiles/opencv-2.4.11/modules/gpu/src/cuda/resize.cu:233: error: (-217) invalid device function in function call_resize_linear_glob
Code example to reproduce the issue / Steps to reproduce the issue