Why does OpenCV cv2.imshow freeze after closing the window manually on Ubuntu?
I am working with OpenCV to display an image, and I encountered a problem on Ubuntu. The code works fine when I press the ESC key to exit the window, but if I manually click the "X" button to close…