1# Release the Video writer
2out.release()
3
4# Destroy all windows
5cv2.destroyAllWindows()
6
1# importing the required packages
2import pyautogui
3import cv2
4import numpy as np
5
1# Create an Empty window
2cv2.namedWindow("Live", cv2.WINDOW_NORMAL)
3
4# Resize this window
5cv2.resizeWindow("Live", 480, 270)
6