Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

namespace “cv::cuda” has no member “resize”

I have built opencv from source with cuda support.

Now I am trying to test it using the resize function of cuda.

I went to the [documentation] and it says to add

#include "opencv2/core/cudawarping.hpp"

which I did but this time the error is

fatal error: opencv2/core/cudawarping.hpp: No such file or directory
 #include "opencv2/core/cudawarping.hpp"

How can I use resize within cuda??


I had a similar problem with the normal resize, that was solved by including 'imgproc.hpp

(https://docs.opencv.org/3.4/db/d29/group__cudawarping.html#ga4f5fa0770d1c9efbadb9be1b92a6452a)

namespace “cv::cuda” has no member “resize”

I have built opencv from source with cuda support.

Now I am trying to test it using the resize function of cuda.

I went to the [documentation] and it says to add

#include "opencv2/core/cudawarping.hpp"
"opencv2/cudawarping.hpp"

which I did but this time the error is

fatal error: opencv2/core/cudawarping.hpp: No such file or directory
 #include "opencv2/core/cudawarping.hpp"

How can I use resize within cuda??


I had a similar problem with the normal resize, that was solved by including 'imgproc.hpp

(https://docs.opencv.org/3.4/db/d29/group__cudawarping.html#ga4f5fa0770d1c9efbadb9be1b92a6452a)

namespace “cv::cuda” has no member “resize”

I have built opencv from source with cuda support.

Now I am trying to test it using the resize function of cuda.

I went to the [documentation] and it says to add

#include "opencv2/cudawarping.hpp"

which I did but this time the error is

fatal error: opencv2/core/cudawarping.hpp: opencv2/cudawarping.hpp: No such file or directory
 #include "opencv2/core/cudawarping.hpp"
"opencv2/cudawarping.hpp"

How can I use resize within cuda??


I had a similar problem with the normal resize, that was solved by including 'imgproc.hpp

(https://docs.opencv.org/3.4/db/d29/group__cudawarping.html#ga4f5fa0770d1c9efbadb9be1b92a6452a)