added destroy all windows
This commit is contained in:
parent
c29f0dfdfa
commit
8a48b8dffd
@ -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…
Reference in New Issue
Block a user