1. A method of recovering a planar projection in a captured image, comprising: selecting displaced points in the captured image; recovering an affine transform of a quasi-periodic object for each of the displaced points based on peak locations of Discrete Fourier Transform (DFT) of the captured image; and combining each of the affine transforms for the displaced points to recover the planar projection and correct for perspective distortion in the captured image.