PDA

View Full Version : Overlay two cv::Mat images with OpenGL



jdbug1
17th May 2017, 11:36
Hi,

I'm a newbie to OpenGL and I'm currently using the class provided by Myzhar to display a cv::Mat in my GUI.
http://www.robot-home.it/blog/en/software/tutorial-opencv-qt-opengl-widget-per-visualizzare-immagini-da-opencv-in-una-gui-con-qt/

Now I want to overlay the videostream with a second partly transparent layer containing multiple line segments. Those cv::Mat images come at another framerate as the videostream.

What is the best way to do this and how to I have to adapt the code to make it work?

Thank you!