OCR to read Tibia in-game text written in python
You can install the package via pip:
pip install tibia-ocr
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)
!
is detected asi
in big font- Can not detect spaces
This project is licensed under the terms of the MIT license.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
If you want to contact me you can reach me at pradishbijukchhe@gmail.com.