OCR híbrido: Tesseract + PdfReader com paralelismo automático para PDFs grandes.
Project description
pdfsmartocr
Ferramenta de OCR híbrido para PDFs grandes:
- Até X páginas via Tesseract OCR paralelo
- Demais páginas via PdfReader nativo
- Feito para PDFs de processos judiciais
Instalação
pip install pdfsmartocr
Uso
from pdfsmartocr import ocr_pdf
texto, tempo = ocr_pdf("arquivo.pdf", max_ocr_pages=70)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdfsmartocr-0.1.2.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdfsmartocr-0.1.2.tar.gz.
File metadata
- Download URL: pdfsmartocr-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
095c874eb23849cbe5d52712dd35e80b26bf9a0d330d53399460974d663fd882
|
|
| MD5 |
547fb050d525f522385c728a8208b5f5
|
|
| BLAKE2b-256 |
43f2f20a3c6a78d4c2939f84d992e0e8a0872ed4d1c0c7d536a226e150474c4f
|
File details
Details for the file pdfsmartocr-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pdfsmartocr-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6113d8984d135f65280fe7bc15d745ceb532a22e25f1a8fdf2e75870168592b4
|
|
| MD5 |
288d2337c762e38805561b093f5d0180
|
|
| BLAKE2b-256 |
4702f9fa41023ebb8b1ff132788addb1faab7771738e27411bfe7038e418aefc
|