cv3.io.destroy_windows
- cv3.io.destroy_windows()[source]
Destroy all windows.
This function destroys all windows that were created with imshow or Window.
Note
This is a wrapper around cv2.destroyAllWindows().
Example
>>> import cv3 >>> # Create and display an image >>> import numpy as np >>> img = np.zeros((100, 100, 3), dtype=np.uint8) >>> cv3.imshow('Window1', img) >>> cv3.imshow('Window2', img) >>> # Destroy all windows >>> cv3.destroy_windows()