A packaged OCR model to read texts into WoW screenshots
Project description
WoW Screenshot OCR
Deep learning OCR models to read text from WoW screenshots. Based on a detector that spots text frames, and a recognizer that reads text from detected frames.
- Chat
- Combat log
- Nameplates
- UI frames
- Map
Installation
pip install wow-ocr
Usage
Models use pre trained weights, you don't have to train anything. Try it on Colab
import wow_ocr
# Init pipeline, detector and recognizer models with pre trained weights
pipeline = wow_ocr.pipeline.Pipeline()
# Screenshots example
images = [
wow_ocr.tools.read(url)
for url in [
"https://image_url.com/1.jpg",
"https://image_url.com/2.jpg",
]
]
# Results - Image to Text
prediction_groups = pipeline.recognize(images)
# # Each list of predictions in prediction_groups is a list of
# # (word, box) tuples.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wow-ocr-0.0.3.tar.gz.
File metadata
- Download URL: wow-ocr-0.0.3.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef14cf09a348846970718f12e11567cd12a75797d1686422e3f27390375606e0
|
|
| MD5 |
2e2a42bc368b71fdaccbf083f8629dc6
|
|
| BLAKE2b-256 |
38a2015e16048808c83398ab7fc63dd258ca0c2ba523ecf45ab38c068d06f59e
|
File details
Details for the file wow_ocr-0.0.3-py3-none-any.whl.
File metadata
- Download URL: wow_ocr-0.0.3-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8a80fee942e7397104fe1e00e8c05039be6b2391bc45492b4aed395e6b7ec10
|
|
| MD5 |
26e37f48e95a186dc492880882f4713c
|
|
| BLAKE2b-256 |
9f95a68b47da9808307e48504832e19c15fffe3cdd14b0f15cc01da5c8fb0438
|