Setting focus on a window in opencv

I am trying to open a window in opencv (with imshow) and focus on the window so that the user can directly specify the entrance to the window. The first time I open a window, it works, but after calling destroyAllWindows and then opening a new window, the focus is not set to this window
How can I get opencv to focus on this special window?

thanks

+6
source share

Source: https://habr.com/ru/post/983427/


All Articles