Skip to content

Commit 12b69ef

Browse files
Update virtual_paint.py
1 parent d92f6c1 commit 12b69ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Virtual Paint/virtual_paint.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ def drawOnCanvas(myPoints, myColorValues):
6969
cv2.imshow("Result", imgResult)
7070
if cv2.waitKey(1) & 0xFF == ord('q'):
7171
break
72+
73+
cap.release()
74+
cv2.destroyAllWindows()

0 commit comments

Comments
 (0)