Skip to content

Instantly share code, notes, and snippets.

@acosonic
Created January 11, 2021 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acosonic/051147be3ca9a74873444c675fecb31d to your computer and use it in GitHub Desktop.
Save acosonic/051147be3ca9a74873444c675fecb31d to your computer and use it in GitHub Desktop.
Pdf Sandwich and Tesseract OCR Ubuntu 18/20 Install
#!/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