Fujitsu ScanSnap: Difference between revisions

From Wiki
No edit summary
Line 3: Line 3:
<pre>
<pre>
apt install scanbd
apt install scanbd
</pre>
* OCRmyPDF via apt
<pre>
apt install ocrmypdf
# ocrmypdf on ubuntu 20.04 installs also the following dependencies:
apt install fontconfig fontconfig-config fonts-dejavu-core fonts-urw-base35 ghostscript icc-profiles-free libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcups2 libdatrie1 libfontconfig1 libfreetype6 libfribidi0 libgif7 libgraphite2-3 libgs9 libgs9-common libharfbuzz0b libidn11 libijs-0.35 libimagequant0 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblept5 libopenjp2-7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper1 libpixman-1-0 libqpdf26 libtesseract4 libthai-data libthai0 libtiff5 libwebp6 libwebpdemux2 libwebpmux3 libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxrender1 libxslt1.1 ocrmypdf poppler-data python3-cffi-backend python3-img2pdf python3-lxml python3-pdfminer python3-pikepdf python3-pil python3-reportlab python3-reportlab-accel python3-sortedcontainers python3-tqdm tesseract-ocr tesseract-ocr-eng tesseract-ocr-osd
</pre>
</pre>


* OCRmyPDF via pip3
* OCRmyPDF via pip3
<pre>
<pre>
apt install python3-pip python3-setuptools python3-wheel python3-lxml python3-dev libxml2-dev libxslt1-dev libffi-dev
sudo apt update
apt install python3-cffi python3-pil
sudo apt dist-upgrade
apt install leptonica-progs libleptonica-dev automake libtool zlib1g-dev libjpeg-dev
sudo apt install ghostscript libxml2 tesseract-ocr tesseract-ocr-deu pngquant unpaper
apt install ghostscript tesseract-ocr tesseract-ocr-eng tesseract-ocr-deu tesseract-ocr-osd libqpdf26
sudo apt install leptonica-progs libleptonica-dev automake libtool zlib1g-dev libjpeg-dev
 
sudo apt install python3 python3-pip libxml2-dev libxslt1-dev libffi-dev # evtl. schon da
python3 -m pip3 install --upgrade pip
git clone https://github.com/agl/jbig2enc
 
cd jbig2enc
# build qpdf:
./autogen.sh
apt install libjpeg-dev
./configure && make
git clone https://github.com/qpdf/qpdf.git
sudo make install
cd ..
git clone https://github.com/qpdf/qpdf  
cd qpdf
cd qpdf
./configure  
./configure && make
make  
sudo make install
make install
sudo ldconfig
ldconfig
cd ..
 
sudo pip3 install --upgrade pip
# build pikepdf:
sudo pip3 install pybind11
pip install pikepdf
sudo pip3 install ocrmypdf
 
 
# build ocrmypdf:
pip install ocrmypdf
 
</pre>
</pre>



Revision as of 14:12, 25 June 2020

Linux Scan Server

  • Scan Button Daemon
apt install scanbd
  • OCRmyPDF via pip3
sudo apt update
sudo apt dist-upgrade 
sudo apt install ghostscript libxml2 tesseract-ocr tesseract-ocr-deu pngquant unpaper
sudo apt install leptonica-progs libleptonica-dev automake libtool zlib1g-dev libjpeg-dev
sudo apt install python3 python3-pip libxml2-dev libxslt1-dev libffi-dev # evtl. schon da
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

Windows: Deactivate ScanSnap folder

  • regsvr32 /u "C:\Program Files (x86)\PFU\ScanSnap\SSFolder\SSFolder.dll"