Does anybody have a suggestion for a java library that performs automatic cropping and deskewing of images (like those retrieved from a flatbed scanner)?
I wrote a note that simple port of a very good deskewer. It works best if you have some text in the image.