Metadata-Version: 2.1
Name: zhmiscellanyocr
Version: 0.1.1
Summary: A collection of OCR (image text recognition) python functions made by zh.
Home-page: https://discord.gg/ThBBAuueVJ
Author: zh
Author-email: imnotgivingmyemailjustaddmeondiscordmydiscordisz_h_@zh.com
Project-URL: Bug Tracker, https://github.com/zen-ham/zhmiscellanyocr/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pytesseract >=0
Requires-Dist: zhmiscellany >=0

`zhmiscellanyocr`,
===


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

[Introduction](https://github.com/zen-ham/zhmiscellanyocr/tree/master#Introduction) \
[Usage examples](https://github.com/zen-ham/zhmiscellanyocr/tree/master#Usage-examples) \
[Documentation](https://github.com/zen-ham/zhmiscellanyocr/tree/master#Documentation)

---

Introduction
===

Can be installed with `pip install zhmiscellanyocr`

The git repository for this package can be found [here](https://github.com/zen-ham/zhmiscellanyocr). 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](https://discord.gg/ThBBAuueVJ).

---

Usage examples
===

Coming soon

---

Documentation:
===

---
`zhmiscellanyocr.ocr()`
---

`zhmiscellanyocr.ocr(image)`

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, prints=False)`

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.

#
