Skip to content

Commit d12252f

Browse files
authored
Update 7.draw_circle_rectangle.py
1 parent 9750cf4 commit d12252f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ch07-把鼠标当画笔/7.draw_circle_rectangle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ def draw_circle(event, x, y, flags, param):
4848
mode = not mode
4949
elif k == ord("q"):
5050
break
51+
cv.waitKey()
52+
cv.destroyAllWindows()

0 commit comments

Comments
 (0)