Expected behaviour
An image opened from a Python shell should close:
- after 1 second with
cv2.waitKey(1000)
- with
cv2.destroyWindow("<window_name>")
- with
cv2.destroyAllWindows()
Actual behaviour
The image opens, but it hangs when closing in either of the two above cases.
Steps to reproduce
OS: macOS Catalina 10.15.7
opencv-python version - 4.5.5.64
python version: 3.10.4
From within a python shell:
import cv2
img = cv2.imread("<path_to_image>")
cv2.imshow("window", img)
After this, any of the three options listed in the expected behavior will result in a frozen, unresponsive window. I don't think this is expected behavior because I haven't seen anything about this in the docs, but I could be very wrong. Thank you!
Issue submission checklist
Expected behaviour
An image opened from a Python shell should close:
cv2.waitKey(1000)cv2.destroyWindow("<window_name>")cv2.destroyAllWindows()Actual behaviour
The image opens, but it hangs when closing in either of the two above cases.
Steps to reproduce
OS: macOS Catalina 10.15.7
opencv-python version - 4.5.5.64
python version: 3.10.4
From within a python shell:
After this, any of the three options listed in the expected behavior will result in a frozen, unresponsive window. I don't think this is expected behavior because I haven't seen anything about this in the docs, but I could be very wrong. Thank you!
Issue submission checklist
opencv-python