namedWindow does not update when resizing

asked 2020-07-03 15:08:13 -0600

ejmeitz gravatar image

updated 2020-07-04 15:56:56 -0600

Hi,

I'm using an OpenCV namedWindow to stream images from a camera. Every frame from the camera is displayed to a namedWindow using imshow(). This all works fine, but if I click and hold on the little white bar where the window name is displayed the window freezes until I let go of click. This also occurs during resizing or moving another window (only if in same thread I think). Is there any way to disable this functionality? It causes weird behavior and also the stream begins to lag from what the camera is actually capturing.

edit retag flag offensive close merge delete

Comments

os ? opencv version ? language, even ?

berak gravatar imageberak ( 2020-07-04 16:24:21 -0600 )edit

OpenCV 4.3.0 release from the website no custom build with cmake or any of that. Windows 10 and C++.

I've seen other threads where windows settings can cause issues, but I feel like this has something to do with OpenCV. Whenever I interact with the window it will not update until I stop interacting with the window.

ejmeitz gravatar imageejmeitz ( 2020-07-05 11:47:06 -0600 )edit