Added cv.DestroyAllWindows() to file close

This commit is contained in:
Gary Bradski
2012-03-18 23:21:54 +00:00
parent 5878ab6a0f
commit a4de511eb7
11 changed files with 15 additions and 0 deletions

View File

@@ -10,3 +10,4 @@ while True:
cv.ShowImage("camera", img)
if cv.WaitKey(10) == 27:
break
cv.DestroyAllWindows()