代码拉取完成,页面将自动刷新
This project aims to extract tables from scanned image PDFs using Optical Character Recognition.
Tesseract OCR
sudo apt-get install tesseract-ocr
Imagemagick
sudo apt-get install imagemagick
PDF Utilities
sudo apt-get install poppler-utils
Python packages
sudo pip install -r requirements.txt
Clear the pdf/ folder and copy all your pdf files to be scanned in it.
Run the OCR:
python3 shellocr.py
The scanned text files shall be available in the txt/ folder once the process completes.
If the above doesn't work for you, try the alternate method.
Save your file as input.pdf in the root directory.
Run
python3 pdf_miner.py
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。