
So you've a bunch of old-fashioned p-books and want to put them somehow on your PDA, Tablet PCs or e Ink device? Welcome to unpaper, an open-source post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies.
Unpaper tries to clean scanned images by removing dark edges that appeared through scanning or copying on areas outside the actual page content (e.g. dark areas between the left-hand-side and the right-hand-side of a double- sided book-page scan). The program also tries to detect disaligned centering and rotation of pages and will automatically straighten each page by rotating it to the correct angle. This process is called "deskewing".
Sources can be downloaded
from here.