Image Processing, Opencv, Python, Mathematics, 3d Modeling.
0.5 angle = 45 scale = 0.5 M = cv2.getRotationMatrix2D((img.shape[1]//2, img.shape[0]//2), angle, scale) # Define the source and destination points for the perspective transformation src_pts = np.float32([[0, 0], [img.shape[1], 0], [img.shape[1], img.shape[0]], [0, img.shape[0]]]) dst_pts =