Skip to main content

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 from screenshots, and a recognizer that reads text from detected frames.

  • Chat
  • Combat log
  • Nameplates
  • UI frames
  • Map

Installation

pip install wow-ocr

Usage

Models will 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wow-ocr-0.0.2.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

wow_ocr-0.0.2-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file wow-ocr-0.0.2.tar.gz.

File metadata

  • Download URL: wow-ocr-0.0.2.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

Hashes for wow-ocr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 06332e9ecc202c506143869e6c8cdad2e463228a0285140f54f8abfcdb403d45
MD5 6917d8d5ca2a2e4b89c4502bb470ac29
BLAKE2b-256 4e5b405573c4412bac6b723a3716a7406d31c85e64645b8a3d7bcf6ae15c071a

See more details on using hashes here.

File details

Details for the file wow_ocr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wow_ocr-0.0.2-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

Hashes for wow_ocr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00fcadcfe2afa9df817d953746708d33a530347ad0aa69e264c118c004f99264
MD5 e46a44ceb85b0064d727905f7a1b1582
BLAKE2b-256 4f443a26dec2943491a12318f4cb3bcc6b39c68ae028fb87752d06845ee12734

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page