width = int(frame.shape[1] * scale) #shape[1] represents columns in the matrix height = int(frame.shape[0] * scale) #shape[0] represents rows in the matrix dimensions ...