OpenCV's highgui module provides awesome GUI features. However, it is a little heavy to use for displaying image in fast real-time applications such as VR and AR (~40FPS).
This repository provides an implementation to display an image contained in cv::Mat via OpenGL.
https://kamino.hatenablog.com/entry/gl_imshow
- GLEW
- GLFW3
- OpenCV
Achieved ~480FPS in the following environment.
- Windows 10
- GTX 1080 Ti
- GLEW 2.2.0
- GLFW 3.3.2