/gl_imshow

This repository provides an implementation to display an image contained in cv::Mat via OpenGL.

Primary LanguageC++Apache License 2.0Apache-2.0

gl_imshow

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

Requirements

  • GLEW
  • GLFW3
  • OpenCV

Testing environment

Achieved ~480FPS in the following environment.

  • Windows 10
  • GTX 1080 Ti
  • GLEW 2.2.0
  • GLFW 3.3.2