I need to perform skew correction on some images (lets say the format is tiff). That is, I have some images which can come in tilted to the right or left and I need to adjust them so that they are straight up and down. The images consist of text and lines; the lines are basically borders around the text; so all of the lines are horizontal and vertical (which hopefully simplifies the problem).
Is there an open source java library that would help with this?
I should have searched a little better. Answer is here:
How can I detect (and correct) skew in images?
And a nice open source library is here:
http://www.jdeskew.com/