I am working on a problem in order to warp the perspective of images to get a front-parallel view. I am using the cv2.getPerspectiveTransform() function. I give 2 sets of points