opencvwindow

aidecv~ opencvwindow

factory opencvwindow

Description:
  • Implements a registration mechanism to correctly manage cv::imshow display.

Methods

(static) show(name, img)

Description:
  • Shows the window and registers its name.

Parameters:
Name Type Description
name string

The window name.

img Mat

The image to show.

(static) waitUntilWindowsClosed()

Description:
  • Waits untill window are closed by the user.

    • Usually used in a contsruct of the form:
    include "opencv.hpp"
    
    int main(int argc, char *argv[]) {
     // ../..
     aidecv::opencvwindow::waitUntilWindowsClosed();
    }
    

    thus called at the end of the program, allowing to maintain the program until all windows are closed.