Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #59140

Re: Hand-Writing Recognition Software

From F Russell <fr@random.info>
Newsgroups alt.os.linux, alt.windows7.general
Subject Re: Hand-Writing Recognition Software
Date 2019-10-06 13:45 +0000
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <qncr670uru@news3.newsguy.com> (permalink)
References <qnaelv$5rt$1@gioia.aioe.org> <qnbe1i02oi5@news1.newsguy.com> <qncm1c$1vun$1@gioia.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, 06 Oct 2019 13:17:45 +0100, Java Jive wrote:

> 
> The scanner I'm actually using is a fairly old HP C9850A;
>

You are in luck.  The GNU/Linux scanning software SANE supports
the HP 5490C (which is the C9850A).  The following driver is
included with SANE:

https://sourceforge.net/projects/hp5400backend/files/hp5400-backend/beta_1_20030526

This is BETA software but it may do the basic job that you need.

Furthermore, with SANE, the scanning process can be scripted (automated).

You could also check eBay for cheap, used scanners that are supported
by SANE and then hack them according to the article.

The SANE support matrix is here:

http://www.sane-project.org/sane-mfgs.html


> 
> The big problems with items too big to scan in one go are:
> 
> 	Bezel	Scanner Glass	 Bezel
> 	=====\                  /=====
> 	      \================/
> 
> This means the stuff at the edge tends to be stretched and distorted, 
> making it difficult to marry up with adjoining images.
> 

This is very easily fixed.  The image is simply cropped to remove the
edges and keep the flat central portion.  The overlaps would need to
be correspondingly greater but that's no problem.

In fact, with SANE, the process can be automated:

scanimage [parameters] | pamcut -cropright X -cropleft Y -croptop Z -cropbottom W | pamtotiff > image.tif

The output from SANE scanimage is a PNM file which is then piped to
pamcut, from the netpbm package, which removes the edges and outputs
and converts to TIFF format for further processing.

>
> Automatic exposure can make different sections of the same document 
> look very different 
>

This can also be corrected, although perhaps not as easily.

The "exposure" can be defined exactly through GAMMA curves in SANE.
An optimal setting may have to be determined through some initial
test scans.

Also, automated post-processing can be extremely effective.  Here is
just one example:

http://www.fmwconcepts.com/imagemagick/textcleaner/index.php

There are many other possibilities for post-processing but I would
need to see an actual example of the material to make recommendations.


> 
> Although nominally the same, the vertical and horizontal 
> resolutions are actually slightly different,
> 

I don't understand.  A scanner will scan in strips (lines) and
the resolution (dpi) is the same in spite of direction.


>
> There is no easy way to align the different sections of scan.
>

You need to establish a reference for each document before
scanning.  It doesn't matter how it's done as long as it
is consistent across the entire document. 

Since you are viewing the backs during scanning, perhaps you can
draw lines or other marks on the back of each document.  These
marks don't need to be permanent and could be done with a special
tape that is only loosely bound.

A carpenters square or other alignment tools can also help
if you are marking the documents.

You can also try deskewing:

https://github.com/Flameeyes/unpaper

But deskewing can be very tedious when applied to type of
scanning that you are doing.


Finally, good software is essential and GNU/Linux has a great
deal of professional image processing tools.

For stitching, the panotools is the basis for everything
else on GNU/Linux:

http://panotools.sourceforge.net

If you can establish a reliable scanning protocol, much or
even most of the process can be fully automated with command-line
tools, and this could save much time and labor.

To me, this is a very challenging project.  Certainly there is
professional equipment available at very high cost which would
be used by institutions.  But the challenge is to do a professional
job using the inexpensive tools available with GNU/Linux.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-05 16:59 +0100
  Re: Hand-Writing Recognition Software "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-05 13:49 -0500
    Re: Hand-Writing Recognition Software Wildman <best_lay@yahoo.com> - 2019-10-06 01:14 -0500
    Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:43 +0100
      Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-06 13:41 -0400
    Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 19:59 +0100
      Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 19:41 +0100
        Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-08 20:13 +0100
    Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-10 16:21 +0100
      Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-10 19:04 +0000
        Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-10 21:44 +0100
          Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-12 13:33 +0100
            Hand-Writing Recognition (now stitching) Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-12 17:18 +0100
              Re: Hand-Writing Recognition (now stitching) Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 19:23 +0200
              Re: Hand-Writing Recognition (now stitching) Software Java Jive <java@evij.com.invalid> - 2019-10-12 18:25 +0100
          Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 16:10 +0200
            Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-13 14:34 +0000
      Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 15:31 +0200
  Re: Hand-Writing Recognition Software Big Al <Big_Al@invalid.com> - 2019-10-05 17:10 -0400
  Re: Hand-Writing Recognition Software "Carlos E. R." <robin_listas@es.invalid> - 2019-10-06 00:05 +0200
    Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:50 +0100
      Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 15:04 +0200
        Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 16:06 +0100
          Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-06 19:23 +0100
            Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 19:51 +0000
          Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 23:21 +0200
            Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 23:25 +0100
  Re: Hand-Writing Recognition Software "David E. Ross" <nobody@nowhere.invalid> - 2019-10-05 17:05 -0700
    Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 14:50 +0200
  Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-06 01:22 +0100
    Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:59 +0100
  Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 00:55 +0000
    Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:17 +0100
      Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 15:01 +0200
        Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 17:06 +0100
          Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 22:44 +0200
            Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-07 00:36 +0100
              Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-06 21:00 -0400
                Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 11:47 +0100
                Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 20:13 +0100
      Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 13:45 +0000
        Re: Hand-Writing Recognition Software Tin Man <tinman3192891steele@yahoo.com> - 2019-10-06 10:13 -0400
          Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-06 15:04 +0000
        Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 17:36 +0100
          Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 17:48 +0000
            Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 00:02 +0100
          Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 20:21 +0100
            Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 12:54 +0100
              Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 13:05 +0100
              Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-08 20:06 +0100
      Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-06 15:01 +0000
        Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 16:23 +0100
          Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-06 18:12 +0000
            Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 00:03 +0100
      Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 20:07 +0100
  Re: Hand-Writing Recognition Software pyotr filipivich <phamp@mindspring.com> - 2019-10-06 08:05 -0700
  Re: Hand-Writing Recognition Software "Mayayana" <mayayana@invalid.nospam> - 2019-10-06 13:15 -0400
    Re: Hand-Writing Recognition Software Ken Hart <kwhart1@frontier.com> - 2019-10-06 20:28 -0400
      Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-06 21:46 -0400
        Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 12:22 +0100
          Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-07 12:39 +0100
            Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-07 09:03 -0400
              Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 16:40 +0100
                Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 18:19 +0100
                Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 18:50 +0100
                Re: Hand-Writing Recognition Software Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-07 20:34 +0200
                Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 12:05 +0100
            Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 17:27 +0100
              Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-08 04:43 +0100
          Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-07 13:43 +0200
            Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 16:49 +0100
              Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 15:02 +0200
          Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 15:43 +0100
            Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-08 15:20 -0400

csiph-web