added destroy all windows
authorGary Bradski <no@email>
Sun, 18 Mar 2012 23:07:39 +0000 (23:07 +0000)
committerGary Bradski <no@email>
Sun, 18 Mar 2012 23:07:39 +0000 (23:07 +0000)
samples/python/minidemo.py
samples/python/numpy_array.py
samples/python/numpy_warhol.py
samples/python/peopledetect.py
samples/python/pyramid_segmentation.py

index 8c5924c..cbc754e 100755 (executable)
@@ -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()
index 8065aa6..b47d054 100644 (file)
@@ -63,3 +63,4 @@ if __name__ == "__main__":
     cv.ShowImage("gaussian", cv.fromarray(n))
 
     cv.WaitKey(0)
+    cv.DestroyAllWindows()
index 97f32a9..f440abc 100644 (file)
@@ -45,3 +45,4 @@ if __name__ == "__main__":
         cv.ShowImage("camera", paste)
         if cv.WaitKey(6) == 27:
             break
+    cv.DestroyAllWindows()
index 10e7a29..89623e2 100644 (file)
@@ -51,3 +51,4 @@ for name in imglist:
     c = WaitKey(0)
     if c == ord('q'):
         break
+cv.DestroyAllWindows()
index 80293e2..2142287 100755 (executable)
@@ -38,3 +38,4 @@ if __name__ == "__main__":
 
     # segmentation of the color image
     PyrSegmentation(img0).run()
+    cv.DestroyAllWindows()