The code looks like this:
backgroundpath=os.getcwd()+"\\\\Backgrounds\\\\1.jpeg" background=cv2.imread(backgroundpath) w,h,l=background.shape fourcc=c