An unintrusive frontend of scanimage which acts as a paper to pdf converter suitable for texts.
Usage: spectrscan [OPTIONS] OUTFILE An unintrusive frontend of scanimage which acts as a paper to pdf converter suitable for texts.
If the ouput file exists then the new scanned documents will be added as the tail of the existing one.
The default system scanner is used (so this must be already configured).
Options: -h, --help print this help -m, --mode scan in Color, Lineart, Gray or whatever supported method --list-modes list all possible scan modes -o, --odd-even preserve the order in double sided paper: scan a batch of papers one side, then the other -r, --resolution page resolution in DPI --list-resolutions list all possible resolutions -s, --source scan from the ADF, Flatbed or whatever supported method --list-sources list all possible sources
Default: --mode=Lineart --resolution=600 --source=ADF
Dependencies: Sane, Imagemagick, Pdftk, GNU Parallel, GAWK.
Exit status: 0 if OK, 1 if an error occurred.
Copyright © 2017 Franco Masotti. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Parallel immage processing (based on the number of processor cores) cuts the time by a factor of
#coresafter page scanning has taken place. This is very effective for a large number of pages.
Odd-even page numbers scanning.
Relevant links and ideas
- Options to add
- Number of pages to scan
- Basic image enhancer options (to pass to ImageMagick)
- OCR (training (GOCR)? + text file outputs)
- Better parallel processing
- Watch inotifies for a new out*.pnm would be faster than post-processing in parallel
Copyright (C) 2017 frnmst (Franco Masotti) email@example.com
spectrscan is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.