From: Andreas Hirczy <ahi@itp.tugraz.at>
To: emacs-orgmode@gnu.org
Subject: Re: [OT] document scanner with ADF
Date: Mon, 17 Mar 2014 10:06:36 +0100 [thread overview]
Message-ID: <8asiqh6voj.fsf@faepop01.tu-graz.ac.at> (raw)
In-Reply-To: CAJcAo8tO3hhuNqz4pxHUn=PzJYrgvhj3LBNw3PcbLZ672H3vwg@mail.gmail.com
Hi!
Samuel Wales <samologist@gmail.com> 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 <ahi@itp.tugraz.at> 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
prev parent reply other threads:[~2014-03-17 9:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 0:59 [OT] document scanner with ADF Samuel Wales
2014-03-12 8:09 ` Detlef Steuer
2014-03-14 20:09 ` Karl Voit
2014-03-17 9:06 ` Andreas Hirczy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8asiqh6voj.fsf@faepop01.tu-graz.ac.at \
--to=ahi@itp.tugraz.at \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).