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 4d694fe commit 5df3f5bCopy full SHA for 5df3f5b
my07-GPU-CUDA/使用CUDA进行GPU加速.md
@@ -16,6 +16,8 @@ print(cv2.getBuildInformation())
16
#include <iostream>
17
#include "opencv2/opencv.hpp"
18
#include "opencv2/gpu/gpu.hpp"
19
+using namespace std;
20
+using namespace cv;
21
22
int main (int argc, char* argv[])
23
{
@@ -41,4 +43,4 @@ int main (int argc, char* argv[])
41
43
}
42
44
```
45
- 编译
- - 失败:g++ `pkg-config --cflags --libs opencv` -lopencv_gpu cuda_test.cpp -o cuda_test
46
+ - 失败:g++ `pkg-config --cflags --libs opencv` -lopencv_gpu cuda_test.cpp -o cuda_test
0 commit comments