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.0.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.0.tar.gz.
File metadata
- Download URL: pdfsmartocr-0.1.0.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 |
ca26c9dce9e0e906d9ff439ef46834a8883d4ef69a62625438aaf5cbd1bcca51
|
|
| MD5 |
fbfb6672d8ed4b754bb900da53d454fc
|
|
| BLAKE2b-256 |
5c2fb9180e46f0f93942df8972740877c56b3e8d76d7c75a9a804628a2de80c2
|
File details
Details for the file pdfsmartocr-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pdfsmartocr-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 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 |
67b4f487d684f7c22d29aa828caaad27a109ebe7482f822fdfcbbf33aede4fec
|
|
| MD5 |
c350fbe55b84992cc813b378905df030
|
|
| BLAKE2b-256 |
8593ffacfe4027d6262e95f6f71446aa60df9c9a270e44881d4c13870b3353f0
|