Created
January 11, 2021 15:57
-
-
Save acosonic/051147be3ca9a74873444c675fecb31d to your computer and use it in GitHub Desktop.
Pdf Sandwich and Tesseract OCR Ubuntu 18/20 Install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt install tesseract-ocr tesseract-ocr-eng | |
wget https://pdfsandwich.s3.amazonaws.com/pdfsandwich_0.1.7_amd64.deb | |
apt-get -fy install ./pdfsandwich_0.1.7_amd64.deb | |
sed -i 's/rights=\"none\"/rights=\"read\|write\"/g' /etc/ImageMagick-6/policy.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment