How can I use the GPU with Qt? (non-nvidia)
Hello everyone, this is my first time with OpenCV. I am sorry I couldn't formulate my question better, I have been searching the Internet and the tags on OpenCV Answers but I couldn't solve my problem.
I've been programming a simple video player with OpenCV and Qt, but I have noticed it raises CPU usage too much. I looked for ways of using the GPU instead and found that imshow
already supports OpenGL for image output but, as I need to use Qt for the UI, this is of no use to me.
How can I read a frame from a video file, process it with OpenCV and display it in Qt using the GPU instead of the CPU?
This is rather a Qt related issue than an OpenCV related issue, so I guess you will get more help on a Qt specific forum with this. That being said, I will leave it open due to the answer of @kbarna.