Hello world test for uploading pypi packages
Project description
Hello world program to test uploading a package to PyPi.
This package contains a simple program that runs OCR on an input image.
The OCR is powered by pytesseract which works well for structured text such as webpages or book scans.
It does not do well with unstructured text images such as words on a t-shirt or text on x-ray scans.
pip install hello-world-ocr
Once the package has been installed, bring up your python interpreter and run the following commands which will
- import the ocr module, and
- print out the text scanned from the image using ocr.scan()
import ocr
# Assuming you have an image in your current directory called article.png
image = "article.png"
print(ocr.scan(image))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hello_world_ocr-1.0.1.tar.gz
(2.4 kB
view details)
File details
Details for the file hello_world_ocr-1.0.1.tar.gz.
File metadata
- Download URL: hello_world_ocr-1.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed31c72ae1a07487a8cd2332278499c4fb0865f95001e86ec13e290124f6e891
|
|
| MD5 |
ca453b1854c4d1f5c19bd7b6ff0b5323
|
|
| BLAKE2b-256 |
93b01c82b87e0c592c4998d393bfe33bef4673feeb4b14ca436219b625b0e31f
|