I am Trying to develop an optical character recognition system.
I have a problem regarding the scanned data.
Whenever i can a document the scanned image seems to be a little slanted/rotated.
I am not able to figure out a way to rotate the image/scanned document.

Please help.