I am trying to include GPU using OpenCvSharp
. I installed the OpenCvSharp by using Nuget Package Manager in Microsoft Visual Studio 2013.
I have included these lines already
using OpenCvSharp;
using OpenCvSharp.CPlusPlus;
using OpenCvSharp.CPlusPlus.Gpu;
but when i check the device count
//GPU
int count = Cv2Gpu.GetCudaEnabledDeviceCount();
//int count = Cv2Gpu.ge
Console.WriteLine("The GPU Device count is " + count.ToString());
it always returns 0.
Now it also says if OpenCv
is not compiled with CUDA
then it always returns 0.
it does not even get DeviceDetails
.