added destroyAllWindows at end

pull/13383/head
Gary Bradski 13 years ago
parent 8a48b8dffd
commit 5878ab6a0f
  1. 1
      samples/python/edge.py
  2. 1
      samples/python/fback.py
  3. 1
      samples/python/ffilldemo.py
  4. 1
      samples/python/houghlines.py
  5. 1
      samples/python/inpaint.py
  6. 1
      samples/python/lkdemo.py
  7. 1
      samples/python/logpolar.py
  8. 1
      samples/python/minarea.py

@ -57,3 +57,4 @@ if __name__ == '__main__':
# wait a key pressed to end
cv.WaitKey(0)
cv.DestroyAllWindows()

@ -53,3 +53,4 @@ class FBackDemo:
if __name__=="__main__":
demo = FBackDemo()
demo.run()
cv.DestroyAllWindows()

@ -157,3 +157,4 @@ if __name__ == "__main__":
elif c == ord('8'):
print("8-connectivity mode is set");
connectivity = 8;
cv.DestroyAllWindows()

@ -55,3 +55,4 @@ if __name__ == "__main__":
USE_STANDARD = not USE_STANDARD
if k == 27:
break
cv.DestroyAllWindows()

@ -66,3 +66,4 @@ if __name__=="__main__":
if c == ord('i') or c == ord('\n'):
cv.Inpaint(img, inpaint_mask, inpainted, 3, cv.CV_INPAINT_TELEA)
cv.ShowImage("inpainted image", inpainted)
cv.DestroyAllWindows()

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

@ -42,3 +42,4 @@ if __name__ == "__main__":
cv.ShowImage("original", src)
cv.WaitKey()
cv.DestroyAllWindows()

@ -59,3 +59,4 @@ if __name__ == "__main__":
break
use_seq = not use_seq
cv.DestroyAllWindows()

Loading…
Cancel
Save