added cv2.destroyAllWindows()

This commit is contained in:
Gary Bradski
2012-03-15 03:45:15 +00:00
parent 41d2a3c832
commit dfaabd88fc
31 changed files with 33 additions and 2 deletions

View File

@@ -45,3 +45,4 @@ if __name__ == '__main__':
cv2.imshow('preview', small)
cv2.setMouseCallback('preview', onmouse)
cv2.waitKey()
cv2.destroyAllWindows()