How do I set up Visual Studio to run the OpenCV T-API?

asked 2017-02-05 12:39:58 -0500

mddrill gravatar image

I am trying to run OpenCV with GPU support. I have read about the T-API and it seems fairly easy to use.

What I don't understand is whether I need to download my GPU's OpenCL SDK and start an OpenCL project in Visual Studio or if I can literally just take the project I have now and change the Mats to UMats.

Also, since everything in the T-API seems to be done in the background, is there a way that I can know for sure whether my code is running with GPU support or not?

If it matters, I am running Windows 10, Visual Studio 2015, and using OpenCV 3.2

Thank You

edit retag flag offensive close merge delete



you can begin with this program

LBerger gravatar imageLBerger ( 2017-02-05 13:04:15 -0500 )edit