added destroy all windows

pull/13383/head
Gary Bradski 13 years ago
parent c29f0dfdfa
commit 8a48b8dffd
  1. 1
      samples/python/minidemo.py
  2. 1
      samples/python/numpy_array.py
  3. 1
      samples/python/numpy_warhol.py
  4. 1
      samples/python/peopledetect.py
  5. 1
      samples/python/pyramid_segmentation.py

@ -10,3 +10,4 @@ cv.NamedWindow("win", cv.CV_WINDOW_AUTOSIZE)
cv.ShowImage("win", img)
cv.MoveWindow("win", 200, 200)
cv.WaitKey(0)
cv.DestroyAllWindows()

@ -63,3 +63,4 @@ if __name__ == "__main__":
cv.ShowImage("gaussian", cv.fromarray(n))
cv.WaitKey(0)
cv.DestroyAllWindows()

@ -45,3 +45,4 @@ if __name__ == "__main__":
cv.ShowImage("camera", paste)
if cv.WaitKey(6) == 27:
break
cv.DestroyAllWindows()

@ -51,3 +51,4 @@ for name in imglist:
c = WaitKey(0)
if c == ord('q'):
break
cv.DestroyAllWindows()

@ -38,3 +38,4 @@ if __name__ == "__main__":
# segmentation of the color image
PyrSegmentation(img0).run()
cv.DestroyAllWindows()

Loading…
Cancel
Save