2018-02-23 【python】cv2.destroyAllWindows()すると固まる python OpenCVをGUI(Gtk+)で使った時のクセ cv2.startWindowThread() cv2.waitKey(1) cv2.destroyAllWindows() cv2.waitKey(1) 上記で解決した。 teratail.com