Skip to main content

ocr-tesseract-wrapper

Tiny wrapper around pytesseract with image preprocessing and OCR configurations

Requirements

Basic usage

from ocr_tesseract_wrapper import OCR
ocr_tool = OCR()
results = ocr_tool.ocr([image])  # where image is Pillow image or string image path

Advanced usage

from ocr_tesseract_wrapper import OCR
ocr_tool = OCR()
results = ocr_tool.ocr([image1, image2], config=[])
"""
where config parameter is list of additional configs and restrictions for each of the 
images given to the OCR. for instance: [None, 'tessedit_char_whitelist=0123456789'] will 
apply no restriction to the first but will only return numeric characters from the second image.
""" 

Metadata

Release files for ocr-tesseract-wrapper 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ocr-tesseract-wrapper 0.0.7
File Size Uploaded Provenance Actions
ocr-tesseract-wrapper-0.0.7.tar.gz 4.0 kB Without provenance Details for ocr-tesseract-wrapper-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ocr-tesseract-wrapper 0.0.7
File Interpreter ABI Platform Actions
ocr_tesseract_wrapper-0.0.7-py3-none-any.whl Python 3 none any Details for ocr_tesseract_wrapper-0.0.7-py3-none-any.whl

Total release size: 10.1 kB

Release files / ocr-tesseract-wrapper-0.0.7.tar.gz

Download URL ocr-tesseract-wrapper-0.0.7.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9ac00dae44b7c88567f11eadb3046eece3b534463c87088b234f916167403275
BLAKE2b-256 checksum
How to use checksums
c77e7e923845d247190981ec408f0468b945d48eb03411b3a124c7efc82c1ae5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / ocr_tesseract_wrapper-0.0.7-py3-none-any.whl

Download URL ocr_tesseract_wrapper-0.0.7-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40f01aaca74cca96bfe6cf70eb3019b02d72c54675f5bf6381bb20bfe272be30
BLAKE2b-256 checksum
How to use checksums
c5456ebb5305ecfa66f70e8277be8c0a61a6e94d1e333454750ef971f90a14b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for ocr-tesseract-wrapper 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page