You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

zhmiscellanyocr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zhmiscellanyocr

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

0.2.0
pipPyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts