Ask Your Question

Revision history [back]

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 programmed 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?

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 programmed 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?