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