Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you want to keep your code C++ standard you can use Qt, wxWidgets that are cross platforms or you can also use standard MFC Application and use imshow to show opencv images as separate windows.

With MFC, if you need to show cv::Mat images into your GUI you can draw it directly into DC of a static control of your GUI using StretchDIBits. You can see my own class that performs exactly this task. How to display an OpenCV image or video in your own MFC interface

Anyway, relevant task with GUI are threads in special case if you have to work with videos. The MFC GUI of the OpenCV Background Subtraction Library use a good implementation of worker threads and GUI integration