text: import cv2 as cv
  def rescaleFrame(frame,scale=0.75):
          width=int(frame.shape[1]*scale)
          height=int(frame.shape[0]*scale)
          dimensions =(width,height)
          return cv.resize(frame, dimensions,interpolation=cv.INTER_AREA)
  
  img =cv.imread('photos/1.png')
  
  cv.imshow('1', rescaleFrame(img,scale=0.2))
  
  
  
  
  cv.waitKey(0)