Menu

Home

digicamscan

digicamscan helps you to use your digital camera as a scanner. It can

  • remove lens distortion and apply perspective correction
  • remove effects of uneven lighting
  • rotate and crop the photos.

a distorted picture of a sheet of paper is transformed into a beautiful scan

Batch processing is possible. The corrected images are output as JPEGs and optionally combined into a PDF document.

digicamscan is written in Java, licensed under the GNU General Public License (version 3 or later) and makes use of several Apache Libraries (Apache License 2.0).

Sourceforge project page: http://sourceforge.net/projects/digicamscan/

Installation

 

  1. Download digicamscan.
  2. Unpack the downloaded file.
  3. Run the .jar-archive (by clicking or via java -jar digicamscan.jar)

Usage

(more detailed instructions...)

  1. Take photos of the documents you want to scan. Using a tripod or a similar arrangement is highly recommended. Lighting conditions should be the same for every page. Also shoot a white sheet of paper for white calibration. (more...) (sourceforge.net)
  2. Set calibration points. Run digicamscan and select the photo of the white page as the calibration photo. If necessary, rotate it. Then mark the corners of the page and at least four additional points on the edges. This is needed for calculating the parameters for the image transform (lens distortion and perspective correction), which will be done as soon as you hit the "Calibrate" button. (more...) (sourceforge.net)
  3. Select photos and set transformation parameters. Point out which files to transform; do not include the white page. Choose and test transformation parameters, and when you are done, hit "Start transform...". digicamscan will now apply the transformation to each of the photos. The transformed images are saved as JPEG files into the same directory, but with the prefix "__digicamscan__". Optionally, digicamscan also creates a PDF document combining all images in their alphabetical order. (more...) (sourceforge.net)

Source code

The source code can be browsed at http://sourceforge.net/p/digicamscan/code/ and is available via mercurial by

hg clone http://hg.code.sf.net/p/digicamscan/code digicamscan

The source code is managed as a Maven project within NetBeans.


Related

Wiki: UsageInstructions

MongoDB Logo MongoDB