Teamfight Tactics (TFT) OCR Bot
Note: This is not mine. I didn't create it just wanted to repost it here.
Notes:
Make sure you don't have any overlays on (Blitz, Mobalytics, etc.).
League & client must be in English.
16:9 resolution borderless windowed is required in League, the game must also be on the main monitor (Use 1920x1080 for best results).
If the program crashes, create an issue with the error.
How to Install?
Install Python 3.10.6 from https://www.python.org/downloads/windows/
Note that Python 3.10.6 cannot be used on Windows 7 or earlier.
Clone the repository or download it from here https://github.com/jfd02/TFT-OCR-BOT/archive/refs/heads/main.zip
Open Command Prompt and change the current directory to the folder where main.py is located
Run pip install -r requirements.txt in Command Prompt
Install tesseract using the Windows installer available at: https://github.com/UB-Mannheim/tesseract/wiki
Note the tesseract path from the installation.
Set the tesseract path in the settings.py file (it may already be correct)
Configure settings.py so the league client path is correct
Disable all in-game overlays
Run the main.py file