1 | initial version |
you only need to call namedWindow() if you need certain flags, or try to add trackbars.
in any other case, imshow() will just create a window with the default flags (WINDOW_AUTOSIZE)
(and you can omit the namedWindow() call entirely)
2 | No.2 Revision |
you only need to call namedWindow() if you need certain flags, or try to add trackbars.
in any other case, imshow() will just create a window on-the-fly with the default flags (WINDOW_AUTOSIZE)
(and you can omit the namedWindow() call entirely)