Kleine Sammlung, um aus einem Scan (TIFF) ein Sandwich-PDF zu machen.
Find a file
2021-01-05 12:27:19 +01:00
.gitignore Initial commit 2021-01-05 11:20:34 +00:00
incrond.txt Quick-Start 2021-01-05 12:27:19 +01:00
LICENSE Initial commit 2021-01-05 11:20:34 +00:00
README.md Quick-Start 2021-01-05 12:27:19 +01:00
sandwich_pdf.sh Quick-Start 2021-01-05 12:27:19 +01:00

Scan2PDF

Kleine Sammlung, um aus einem Scan (TIFF) ein Sandwich-PDF zu machen.

Benötigte Pakete

# dpkg -l \*tesseract\* \*incron\* | grep "^ii"
ii  incron                   0.5.12-1+deb10u1       amd64        cron-like daemon which handles filesystem events
ii  libtesseract4:amd64      4.0.0-2                amd64        Tesseract OCR library
ii  tesseract-ocr            4.0.0-2                amd64        Tesseract command line OCR tool
ii  tesseract-ocr-deu        1:4.00~git30-7274cfa-1 all          tesseract-ocr language files for German
ii  tesseract-ocr-eng        1:4.00~git30-7274cfa-1 all          tesseract-ocr language files for English
ii  tesseract-ocr-osd        1:4.00~git30-7274cfa-1 all          tesseract-ocr language files for script and orientation

incron

Mit incrontab -e (als User "scanner") kann festgelegt werden, wann was passieren soll - abhängig von Dateisystem-Operationen. Ein Beispiel findet sich in incrond.txt.