{"repo":"LeoFCardoso/pdf2pdfocr","free":true,"listed":false,"github":"https://github.com/LeoFCardoso/pdf2pdfocr","clone":"git clone https://github.com/LeoFCardoso/pdf2pdfocr.git","description":"A free tool to OCR a PDF and add a text \"layer\" in the original file, making a searchable PDF. Use only open source tools. Please tip!","language":"Python","stars":306,"topics":["pdf","ocr","pdftk","docker","python","tesseract"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"pdf2pdfocr A tool to OCR a PDF (or supported images) and add a text \"layer\" (a \"pdf sandwich\") in the original file making it a searchable PDF. The script uses only open source tools. donations This software is free, but if you like it, please donate to support new features. Bitcoin (BTC) address: bc1qqd4pj0pymptwg523ems8pxgjwdslh7ujv5egqg tips Tips are also welcome! Dogecoin (DOGE) address: D94hD2qPnkxmZk8qa1b6F1d7NfUrPkmcrG PIX (Brazilian Instant Payments): d3222ec1-74e6-40e0-a2d6-8f2d8e9f1568 Please contact for donations and tips in other cryptocurrencies. installation In Linux, please try these instructions (thanks to @nicoursi). # 1. Create the virtual environment python3 -m venv /pdf2pdfocr-venv # 2. Activate the virtual environment source /pdf2pdfocr-venv/bin/activate # 3. Install Python dependencies pip install -r requirements.txt # 4. Copy Python files to the virtual environment bin directory cp .py /pdf2pdfocr-venv/bin/ # 5. Copy executables to /usr/local/bin cp pdf2pdfocr pdf2pdfocr gui /usr/local/bin In macOS, you will need macports. # First install Xcode from Mac App Store, then: xcode-select --install sudo xcodebuild -license # Install Macports from https://www.macports.org/install.php sudo port selfupdate # Install tesseract as main ocr engine (Portuguese included below - please add your preferred languages) sudo port install git tesseract tesseract-por tesseract-osd tesseract-eng # Install qpdf sudo port install qpdf # Install python 3 and other dependencies s","default_branch":null,"files":null,"tree":[],"storefront":"/r/LeoFCardoso","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LeoFCardoso/pdf2pdfocr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}