From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Hirczy Subject: Re: [OT] document scanner with ADF Date: Mon, 17 Mar 2014 10:06:36 +0100 Message-ID: <8asiqh6voj.fsf@faepop01.tu-graz.ac.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPTVc-0004C9-Ec for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 05:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPTVW-00077t-Cn for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 05:07:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:33007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPTVW-00077j-5p for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 05:06:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WPTVT-00081U-88 for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 10:06:51 +0100 Received: from faepop01.tu-graz.ac.at ([129.27.161.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Mar 2014 10:06:51 +0100 Received: from ahi by faepop01.tu-graz.ac.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Mar 2014 10:06:51 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi! Samuel Wales 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 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