OCRthyPDF-Essentials
OCRthyPDF-Essentials copied to clipboard
compile/use instructions without snap
Instructions for use without snap.
If I have noting else to do I might add a PyPi package...
Otherwise: Clone repository or download zip and unzip to any location on your hdd
Follow https://ocrmypdf.readthedocs.io/en/latest/installation.html to install ocrmypdf, tesseract (+language packs) and jbig2enc
sudo apt install tesseract-ocr-all
pip install pdftotext ocrmypdf pikepdf pyzbar darkdetect rich
Enter code directory
python ./OCRthyPDF.py
That should do the trick as long as ocrmypdf / pikepdf did not introduce any changes to their api