Have a nice day. What is the solution for this error?
OpenCV Version: OpenCV 3.1
Cuda Version: v8.0
Graphics Card: NVIDIA GeForce GT 650M 2 GB DDR3
Ram : 4 GB
!!
1 | initial version |
Have a nice day. What is the solution for this error?
OpenCV Version: OpenCV 3.1
Cuda Version: v8.0
Graphics Card: NVIDIA GeForce GT 650M 2 GB DDR3
Ram : 4 GB
!!
2 | No.2 Revision |
Have a nice day. What is the solution for this error?
OpenCV Version: OpenCV 3.1
Cuda Version: v8.0
Graphics Card: NVIDIA GeForce GT 650M 2 GB DDR3
Ram : 4 GB
!!source code:
#ifdef _DEBUG
#pragma comment(lib, "opencv_core310d.lib")
#pragma comment(lib, "opencv_highgui310d.lib")
#pragma comment(lib, "opencv_imgcodecs310d.lib")
#pragma comment(lib, "opencv_videoio310d.lib")
#pragma comment(lib, "opencv_imgproc310d.lib")
#pragma comment(lib, "opencv_features2d310d.lib")
#pragma comment(lib, "opencv_xfeatures2d310d.lib")
#pragma comment(lib, "opencv_flann310d.lib")
#pragma comment(lib, "opencv_calib3d310d.lib")
#pragma comment(lib, "opencv_video310d.lib")
#endif
#include "opencv2/core.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/calib3d.hpp"
#include "opencv2/xfeatures2d.hpp"
#include<opencv2\core\cuda.hpp>
int main(int argc, char** argv)
{
cuda::GpuMat a;
Mat image1 = imread("D:/proje/projeler/drone test/test1/frame00000.jpg");
a.upload(image1);
}
Error Message:
Unhandled exception at 0x00007FFDB6EA7788 in Cuda.exe: Microsoft C++ exception: cv::Exception at memory location 0x0000000DBE0FE8C0.
OpenCV Error: No CUDA support (The library is compiled without CUDA support) in throw_no_cuda, file D:\OpencvDosyalar\opencv\sources\modules\core\include\opencv2/core/private.cuda.hpp, line 97