resized image to fit window
Done homography matrix