[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge pull request antoinelame#59 from keshariS/master
Browse files Browse the repository at this point in the history
Release resources when code ends
  • Loading branch information
antoinelame authored Jul 2, 2021
2 parents a6b2be4 + e935888 commit 7d05bb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@

if cv2.waitKey(1) == 27:
break

webcam.release()
cv2.destroyAllWindows()

0 comments on commit 7d05bb7

Please sign in to comment.