added destroyAllWindows at end

This commit is contained in:
Gary Bradski
2012-03-18 23:12:55 +00:00
parent 8a48b8dffd
commit 5878ab6a0f
8 changed files with 8 additions and 0 deletions

View File

@@ -189,3 +189,4 @@ if __name__ == '__main__':
night_mode = not night_mode
elif cc == ' ':
fc = (fc + 1) % len(frames)
cv.DestroyAllWindows()