2013-01-08 06:42:02 -0600 | answered a question | Difference between cpu and gpu detectMultiScale With the CPU version of detectMultiScale you can provide a color image. The GPU one requires a grayscale image. The GPU is way faster than the CPU counterpart and seems to return good results for me. You can do a cvtcolor on the GPU while the image is there but it doesn't seem to be faster than the CPU version of cvtcolor. |
2013-01-08 06:29:52 -0600 | asked a question | Building OpenCV 2.4.9 with CUDA Linking Problem Hello world, I've been trying to build OpenCV 2.4.9 (SVN) with CUDA support for a few days on Ubuntu 12.10 (x64). During the linking I have the following error: Linking CXX executable ../../bin/opencv_perf_gpu ../../lib/libopencv_gpu.so.2.4.9: undefined reference to « cuCtxGetCurrent » I have no idea on how to fix this and it doesn't seem to be a frequent problem. I tried various methods in various (if not all) combinations:
Each time I made sure to have all the cuda libs detected by ldconfig. Though I'm still not sure which lib file is supposed to contain the function cuCtxGetCurrent... Thank you in advance. |