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.1.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.1.tar.gz.
File metadata
- Download URL: pdfsmartocr-0.1.1.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 |
b679f6470feb3de7663de7ec9182d554a1ea1d4493a597a5bc2c667cf690362a
|
|
| MD5 |
4bfba3bbdd0ffb649edc769e0591d475
|
|
| BLAKE2b-256 |
8a42305b6b1c1cea39d27efbea7f85f2262d3d16f5778908707cdee18b88e08b
|
File details
Details for the file pdfsmartocr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pdfsmartocr-0.1.1-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 |
4295766588549349a2e300d04b3654f53098321419179f0587961e44b5e52f44
|
|
| MD5 |
2db1dda1dc7e24178770af6655e175f2
|
|
| BLAKE2b-256 |
9342b9747c91503423d7683955a44a41b1b5c331d61e9065e8f8fc7dd2498303
|