In this paper we present an implementation of the Fast Fourier Transfor Described in the paper: "Fast Fourier method for the accurate rotation of sampled images" for working with images in Python and OpenCV
The paper can be accesed in: http://nontrivialzeros.net/KGL_Papers/27_Rotation_Paper_1997_qualityscan_OCR.pdf