Skip to main content

OCR to read Tibia in-game text written in python

Project description

tibia-ocr

OCR to read Tibia in-game text written in python

Installation

You can install the package via pip:

pip install tibia-ocr

Usage

import cv2

from tibia_ocr.hash_ocr import convert_line

image = cv2.imread("data/test.png")
threshed = cv2.inRange(image, (192, 192, 192), (192, 192, 192))
out = convert_line(threshed)
print(out)

Known Limitations

  • ! is detected as i in big font
  • Can not detect spaces

License

This project is licensed under the terms of the MIT license.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Contact

If you want to contact me you can reach me at pradishbijukchhe@gmail.com.

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

tibia-ocr-1.0.8.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

tibia_ocr-1.0.8-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file tibia-ocr-1.0.8.tar.gz.

File metadata

  • Download URL: tibia-ocr-1.0.8.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for tibia-ocr-1.0.8.tar.gz
Algorithm Hash digest
SHA256 61601997fc6d4d0fa922f96cac4fb9a2e07bf5ccbd7a460deafdda2ee211d1a3
MD5 b71f160df748eb6682b7c8c59fb6ab11
BLAKE2b-256 eb95bb15eb2f1ff0c58c5a854305cd76696d44ecea2ba6425211297bbc897148

See more details on using hashes here.

File details

Details for the file tibia_ocr-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: tibia_ocr-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for tibia_ocr-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ce1a062db51b219befd7b0099e3e2a206b3d05367746341eb8e8fa26d9c155
MD5 95aaabe3e2e9e648dfd164cb10fb038d
BLAKE2b-256 081e580e43f18c24543c641c717e72471aab15d04a4ef53764fed4ee07859dfc

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