Scan Button Daemon
apt install scanbd
#canon_pp
fujitsu
plustek_pp
action scan {
filter = "^scan.*"
numerical-trigger {
from-value = 1
to-value = 0
}
desc = "Scan to file"
script = "/srv/scanbd/scanadf.script"
include(scanner.d/fujitsu.conf)
OCRmyPDF via pip3
sudo apt update
sudo apt full-upgrade
sudo apt install ghostscript libxml2 tesseract-ocr tesseract-ocr-deu pngquant unpaper leptonica-progs libleptonica-dev automake libtool zlib1g-dev libjpeg-dev python3 python3-pip libxml2-dev libxslt1-dev libffi-dev git
git clone https://github.com/agl/jbig2enc
cd jbig2enc
./autogen.sh
./configure && make
sudo make install
cd ..
git clone https://github.com/qpdf/qpdf
cd qpdf
./configure && make
sudo make install
sudo ldconfig
cd ..
sudo pip3 install --upgrade pip
sudo pip3 install pybind11
sudo pip3 install ocrmypdf
Troubleshooting Links
Windows: Deactivate ScanSnap folder
- regsvr32 /u "C:\Program Files (x86)\PFU\ScanSnap\SSFolder\SSFolder.dll"