Tool to turn scans into PDFs
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mia Herkt 22d611ba39
Add LICENSE
1 year ago
LICENSE Add LICENSE 1 year ago
README.md init 1 year ago
pdfutil.py Add LICENSE 1 year ago
requirements.txt init 1 year ago
scanproc.py Add LICENSE 1 year ago

README.md

scanproc

This is a tool to process high-resolution scans with as little user input as possible. It produces decently compressed PDF files with monochrome/color separation and more or less accurate text layers.

Requirements

In addition to the Python modules listed in requirements.txt, scanproc requires jbig2 to be installed in your $PATH.

Usage

scanproc.py [-h] [-l LANGS] [-d DPI] [--debug] output [imgs ...]

Usage is simple. You pass a list of EasyOCR language codes to use with -l (default English only; pass multiple times for more than one language), the image resolution (required for filter kernel scaling and correct page size), followed by the output PDF file and the input image files.