Warp image to change perspective
I am trying to figure out how to change an image such that something like this will become a top down view.
The image is of a piece of paper, with five blocks that are all the same size. I would like the distorted image to contain just the piece of paper, and have the five blocks be roughly the same size.
I am really new to OpenCV, and any help would be greatly appreciated! :)