Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emgu CV does not detect CUDA

I have GeForce GTX 960 with installed 353.90 NVidia driver and 7.5.18 CUDA driver. I'm using the latest version of Emgu CV, but it doesn't detect CUDA on the system (even in Emgu samples), Emgu.CV.Cuda.CudaInvoke.HasCuda is always false. At the same time other programs, like Xillisoft Video Converter can use CUDA without problems. How do I enable CUDA for Emgu CV?

like image 503
JustLogin Avatar asked Jul 08 '16 07:07

JustLogin


1 Answers

Make sure you're building an x64 app. If your build configuration is set to AnyCpu, uncheck the "Prefer 32 bit" box under Project properties -> Build. OpenCV has dropped support for x86 CUDA following NVIDIA CUDA v7.

like image 172
fierval Avatar answered Sep 18 '22 05:09

fierval