Skip to main content

zhmiscellanyocr,

A collection of OCR (image text recognition) functions.

Introduction
Usage examples
Documentation


Introduction

Can be installed with pip install zhmiscellanyocr

The main point of this package is to allow Google's Tesseract OCR engine to be used from within a pyinstaller executable. This is not possible with packages like pytesseract for example.

The git repository for this package can be found here. The docs also look nicer on github.

If you want to reach out, you may add my on discord at @z_h_ or join my server.


Documentation:


zhmiscellanyocr.ocr()

zhmiscellanyocr.ocr(image, config=None)

Takes an image path or a PIL image object and runs local image text recognition and returns the text in the image. Does not use the internet to function.

zhmiscellanyocr.batch_ocr()

zhmiscellanyocr.batch_ocr(images, threads=10, config=None)

Takes a list of image paths or PIL image objects and concurrently runs local image text recognition and returns the text in the image. Does not use the internet to function.

Metadata

Release files for zhmiscellanyocr 0.2.0

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

Built distribution (wheel)

Table of built distributions (wheels) for zhmiscellanyocr 0.2.0
File Interpreter ABI Platform Actions
zhmiscellanyocr-0.2.0-py3-none-any.whl Python 3 none any Details for zhmiscellanyocr-0.2.0-py3-none-any.whl

Release files / zhmiscellanyocr-0.2.0-py3-none-any.whl

Download URL zhmiscellanyocr-0.2.0-py3-none-any.whl
Size 89.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
214f96daa6168fa3a7f77c2743004259e1b5195ff00e49c9ca86e81037387c53
BLAKE2b-256 checksum
How to use checksums
8a018f982c3810d1b81429e63d8a11194d801cefd62b9bb0a970d2232afe7134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Security for zhmiscellanyocr 0.2.0

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