Ask Your Question

misty marshes's profile - activity

2019-07-16 07:38:33 -0600 received badge  Popular Question (source)
2015-10-26 13:21:22 -0600 commented answer How can I use the GPU with Qt? (non-nvidia)

Thank you. Yes, I managed to implement what I needed with QOpenGLWidget and by converting OpenCV Mat directly into textures on the GPU with the OpenGL wrapper that Qt provides - this is much faster than converting the Mat into a QImage and displaying it with QPixmap.

2015-10-26 12:36:15 -0600 received badge  Supporter (source)
2015-09-26 17:56:18 -0600 asked a question 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?