Function namedWindow

  • Creates a window.

    The function namedWindow creates a window that can be used as a placeholder for images and trackbars. Created windows are referred to by their names. If a window with the same name already exists, the function does nothing.

    https://docs.opencv.org/4.x/d7/dfc/group__highgui.html#ga5afdf8410934fd099df85c75b2e0888b

    Parameters

    • winname: string

      Name of the window in the window caption that may be used as a window identifier. default: cv.WINDOW_AUTOSIZE

    • Optional flags: number

      Flags of the window. The supported flags are: (cv::WindowFlags)

    Returns void