diff --git "a/ch07-\346\212\212\351\274\240\346\240\207\345\275\223\347\224\273\347\254\224/7.draw_circle_rectangle.py" "b/ch07-\346\212\212\351\274\240\346\240\207\345\275\223\347\224\273\347\254\224/7.draw_circle_rectangle.py" index b5c672c4..68e927bf 100755 --- "a/ch07-\346\212\212\351\274\240\346\240\207\345\275\223\347\224\273\347\254\224/7.draw_circle_rectangle.py" +++ "b/ch07-\346\212\212\351\274\240\346\240\207\345\275\223\347\224\273\347\254\224/7.draw_circle_rectangle.py" @@ -48,3 +48,5 @@ def draw_circle(event, x, y, flags, param): mode = not mode elif k == ord("q"): break +cv.waitKey() +cv.destroyAllWindows()