A Python tool for running OCR on Pokemon Go Screenshots
Project description
A Python tool for running OCR on Pokémon Screenshots using Google Cloud Vision
Usage:
import PogoOCR
from google.oauth2 import service_account
credentials: service_account.Credentials
client = PogoOCR.OCRClient(credentials=credentials)
screenshot = PogoOCR.Screenshot.from_url(
url="...",
klass=PogoOCR.ScreenshotClass.ACTIVITY_VIEW,
)
request = client.open_request(screenshot, PogoOCR.Language.ENGLISH)
result = client.process_ocr(request)
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
PogoOCR-0.4.0b0.tar.gz
(21.1 kB
view details)
Built Distribution
PogoOCR-0.4.0b0-py3-none-any.whl
(36.5 kB
view details)
File details
Details for the file PogoOCR-0.4.0b0.tar.gz
.
File metadata
- Download URL: PogoOCR-0.4.0b0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.10-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7ec330c0dc10ee00483d6137c556118d6a2de4299630caed034c1931bbc9f1b |
|
MD5 | ebcbd02ef80b15945c00d9a21f368e6a |
|
BLAKE2b-256 | 12e14f17d55d78461411f6ef82d3b87133e72abe97a54e6f92f170cf45c406f1 |
File details
Details for the file PogoOCR-0.4.0b0-py3-none-any.whl
.
File metadata
- Download URL: PogoOCR-0.4.0b0-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.16.10-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13363e355bb0533b8bbb5ed73ce49c5a2a6c8661779a19e93878676d0a19494b |
|
MD5 | 7147a0a9c643bcf091b942ef49a023ca |
|
BLAKE2b-256 | a2825501d085753c3f54a68a5e4eae346ccbfa8067e2e1a875ef87814a35311f |