### Navigation

- index
- next |
- previous |
- OpenCV 2.4.13.4 documentation »
- OpenCV API Reference »

# highgui. High-level GUI and Media I/O

While OpenCV was designed for use in full-scale applications and can be used within functionally rich UI frameworks (such as Qt*, WinForms*, or Cocoa*) or without any UI at all, sometimes there it is required to try functionality quickly and visualize the results. This is what the HighGUI module has been designed for.

It provides easy interface to:

- Create and manipulate windows that can display images and “remember” their content (no need to handle repaint events from OS).
- Add trackbars to the windows, handle simple mouse events as well as keyboard commands.
- Read and write images to/from disk or memory.
- Read video from camera or file and write video to a file.

- User Interface
  - createTrackbar
  - getTrackbarPos
  - imshow
  - namedWindow
  - destroyWindow
  - destroyAllWindows
  - MoveWindow
  - ResizeWindow
  - SetMouseCallback
  - setTrackbarPos
  - waitKey
  - setOpenGlDrawCallback
  - setOpenGlContext
  - updateWindow
- Reading and Writing Images and Video
  - imdecode
  - imencode
  - imread
  - imwrite
  - VideoCapture
  - VideoCapture::VideoCapture
  - VideoCapture::open
  - VideoCapture::isOpened
  - VideoCapture::release
  - VideoCapture::grab
  - VideoCapture::retrieve
  - VideoCapture::read
  - VideoCapture::get
  - VideoCapture::set
  - VideoWriter
  - VideoWriter::VideoWriter
  - ReleaseVideoWriter
  - VideoWriter::open
  - VideoWriter::isOpened
  - VideoWriter::write
- Qt New Functions
  - setWindowProperty
  - getWindowProperty
  - fontQt
  - addText
  - displayOverlay
  - displayStatusBar
  - setOpenGlDrawCallback
  - saveWindowParameters
  - loadWindowParameters
  - createButton

## Help and Feedback

You did not find what you were looking for?

- Ask a question on the Q&A forum.
- If you think something is missing or wrong in the documentation, please file a bug report.

### Navigation

- index
- next |
- previous |
- OpenCV 2.4.13.4 documentation »
- OpenCV API Reference »