Ask Your Question
0

module 'cv2' has no attribute 'destoryWindow'

asked 2019-07-08 22:16:00 -0600

python-->3.7.3 cv-->3.4.2 when I try to close the windows after "imshow", it showed that error and made the python crash.

edit retag flag offensive close merge delete

Comments

read out : destoryWindow' , LOUD.

repeat as long as nessecary.

berak gravatar imageberak ( 2019-07-09 00:36:44 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-20 14:24:17 -0600

ArikH gravatar image
   cv2.imshow("Tracking", frame)
    # Exit if ESC pressed
    k = cv2.waitKey(1) & 0xff
    if k == 27 : break

video.release() cv2.destroyWindow("Tracking")

for my it's working well

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-07-08 22:16:00 -0600

Seen: 10,080 times

Last updated: Jul 08 '19