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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zhmiscellanyocr-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ac25ce09efcdd6fa757a91d4b99a5d4a84acb5c4064ee40b36a0960e602480d8
MD5 2c7e5df51f885e51773f8c01e96e6a2f
BLAKE2b-256 ba068e2f8bb3887066d342629c8690b1867ed4dcd13697d342d94cbed230dfd2

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