Skip to main content

A collection of OCR (image text recognition) python functions made by zh.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhmiscellanyocr-0.2.0-py3-none-any.whl (89.8 MB view details)

Uploaded Python 3

File details

Details for the file zhmiscellanyocr-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zhmiscellanyocr-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 214f96daa6168fa3a7f77c2743004259e1b5195ff00e49c9ca86e81037387c53
MD5 251698786a3074ef1e87491169f90058
BLAKE2b-256 8a018f982c3810d1b81429e63d8a11194d801cefd62b9bb0a970d2232afe7134

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page