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.1.9-py3-none-any.whl (89.8 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zhmiscellanyocr-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 02577153c06597453b66c2ebca742e409fc99c0feb98b9a9822140f84a0601d2
MD5 8adb9d7e9628ec5d2ccc8678b72babdb
BLAKE2b-256 faeb9af800cbbf0872e50a44c4678ea8a6ca042b9ba021d19218f579c4f5774a

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