emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [OT] document scanner with ADF


From: Andreas Hirczy
Subject: Re: [O] [OT] document scanner with ADF
Date: Mon, 17 Mar 2014 10:06:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Hi!

Samuel Wales <address@hidden> writes:

> We had a great discussion about scanners and ADFs here a while back.
> The Fujitsu ScanSnap 1500 seemed to be a favorite.

We have got Fujitsu ScanSnap S1500M and FI-6130Z - both work near
perfect with Linux and SANE.

If you use SANE, it is necessary to set the driver to ADF first and set
the other parameters (eg. page size) later. This is different from the
epson driver for example - and not done by all frontends.

> We also talked about what resolutions to scan at.

I usually scan at 600 dpi and convert to 300 dpi afterwards.

> What's the current status of document scanners for Linux?  How good
> are the ADFs physically?

I also have an older Epson Perfection 1640SU scanner with ADF - the
driver support on Linux is ok, but mechanically the Fujitsu is much
faster and more robust. We also have a "Canon imageRunner ADVANCE 5235"
which works great as an ADF scanner, but is in a somewhat different
range :)


My script for a quick scan:
-------------------------------
#!/bin/sh

# where to store scanned images
TEMPDIR=$(mktemp -d /tmp/scanadf.XXXXXXXXX)

SOURCE="ADF Front"  # possible options: ADF Front|ADF Back|ADF Duplex [ADF 
Front]
SCANMODE=Gray       # possible options: Lineart|Halftone|Gray|Color [Lineart]
RESOLUTION=600      # possible options: 50..600dpi
SOURCE="ADF Duplex"

TITLE="$(date -I)_$1"

echo "Scanner input source     : $SOURCE"
echo "Chosen title for document: $TITLE"

scanadf --verbose --source "$SOURCE" --mode $SCANMODE  --page-height=297 -l 0 
-t 0 -x 210 -y 297 \
    --resolution $RESOLUTION --no-overwrite --output-file 
${TEMPDIR}/image-%04d.pnm 

for file in ${TEMPDIR}/image-*.pnm; do 
    convert ${file} -resize 50% -depth 4 -normalize "${file%.pnm}.png"
#  -linear-stretch 2x2%
done

didjvu bundle --clean --lossy --output "$TITLE.djvu" $TEMPDIR/*.png
ocrodjvu --in-place --engine tesseract "$TITLE.djvu"
djview4 "$TITLE.djvu" &

rm -rf $TEMPDIR
-------------------------------

Best regards
Andreas
-- 
Andreas Hirczy <address@hidden>                   http://itp.tugraz.at/~ahi/
Graz University of Technology                        phone: +43/316/873-   8190
Institute of Theoretical and Computational Physics     fax: +43/316/873-10 8190
Petersgasse 16, A-8010 Graz                         mobile: +43/664/859 23 57




reply via email to

[Prev in Thread] Current Thread [Next in Thread]