Python code to do OCR recognition of a PDF file and export text to TXT file.
- LocalOCR: based on Tesseract OCR
- CloudOCR: based on Google Vision API
apt-get install python-pyocr python-wand imagemagick
apt-get install libleptonica-dev tesseract-ocr-dev
apt-get install tesseract-ocr-ita
pip install -r requirements.txt
Install Google Cloud SDK
apt-get install pdfimages google-cloud-sdk-app-engine-python
pip install requirements.txt