GithubHelp home page GithubHelp logo

linear-book-scanner's Introduction

August 16, 2012
Jeff Breidenbach

This software supports the linear book scanner. It has been tested on
MacOS and Ubuntu 12.04. Instructions for Ubuntu follow. If you have
complete and working hardware, you may begin scanning by running the
top level script.

$ ./scan

=== top level directory ===

The top level directory contains everything needed for scanning.
Besides the run script, it contains a graphical user interface for
display, manipulation, and export of scanned images. The viewer lives
may be run independently of the hardware, and performs best on systems
with solid state storage.

$ sudo apt-get install python-pygame     # required for viewer
$ sudo apt-get install python-reportlab  # required for PDF output
$ sudo apt-get install tesseract-ocr     # required for searchable PDF output
$ ./viewer.py testdata                   # self test, no hardware required

=== motor subdirectory ===

This directory contains software for an mDrive microcontroller. This
assembly language program controls image synchronization, integration
with the break beam sensor, and motor control.  The majority of the
files are for debug purposes only, for example manual motor movement
commands, or a sensor diagnosis program to help aim the break beam
sensor during hardware construction. For programming reference,
consult your favorite internet search engine for "Programming and
Software Reference for: MCode". To program the motors, run the
following command.

$ ./program_motors

=== sane subdirectory ===

This directory contains patches to SANE (Scanner Access Now Easy).
The patch is required to allow the off the shelf scanning hardware to
run in a modified state; for example disabling paper sensors or
changing calibration routines. You must retrieve the SANE source code,
apply these patches, and install them on the computer attached to the
hardware. These example commands are beyond the scope of this
document; consult a local Linux expert as needed.

$ sudo apt-get install pbuilder
$ apt-get source sane-backends
$ patch -p0 < sane-canon-dr.diff
$ sudo pbuilder create
$ sudo pbuilder build sane-backends*.dsc
$ sudo dpkg -i /var/cache/pbuilder/result/libsane-common*.deb
$ sudo dpkg -i /var/cache/pbuilder/result/libsane_*.deb
$ sudo dpkg -i /var/cache/pbuilder/result/sane-utils*.deb

=== testdata subdirectory ===

This directory contains a limited number of sample images. Their sole
purpose is to help test and verify the viewer program, even in the
complete absence of working hardware.

linear-book-scanner's People

Contributors

jbreiden2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.