为了使用 OPENCV+HOG 不得不入CUDA的坑
下有另一个关键词:Opencv Hog
第一步要搞清的就是,你需要重新Configure下 OPencv
这个重新编译的含义是啥,似乎是为了生成新的dll 与lib 文件
这就意味着,你在configure完之后,又要将配置苦逼的再来一遍。
这趟浑水深不可测~~。。。
但还必须趟,。。。。因为使用的算法可以用GPU加速来提升效果。。。
先用起来再说吧。。。。
不知道又要用几天的时间。。
第一天
首先下载了cuda 7.5
然后下载了 cmake
最后听说还要 使用TBB
“To enable CUDA support, configure OpenCV using CMake with WITH_CUDA=ON . When the flag is set and if CUDA is installed, the full-featured OpenCV GPU module is built. Otherwise, the module is still built but at runtime all functions from the module throw Exception with CV_GpuNotSupported error code….”
Please re-build OpenCV, and make sure enabled CUDA support Thanks.
For more information, please refer to http://docs.opencv.org/2.4/modules/gpu/doc/introduction.html
下面是一些配