This repo contains tools and utilities for a screen-driven TFT bot.
Tesseract OCR setup (Windows)
- Download and install the official Tesseract OCR Windows installer.
- Confirm the
tesseract.exepath after install. Common locations: C:\Program Files\Tesseract-OCR\tesseract.exeC:\Program Files (x86)\Tesseract-OCR\tesseract.exeC:\Users\<you>\AppData\Local\Programs\Tesseract-OCR\tesseract.exe- Set the
TESSERACT_CMDenvironment variable to the full path oftesseract.exe.
PowerShell example (current user):
[Environment]::SetEnvironmentVariable(
"TESSERACT_CMD",
"C:\Program Files\Tesseract-OCR\tesseract.exe",
"User"
)If you prefer the Windows UI, open "Edit the system environment variables",
click "Environment Variables...", and add a new user variable named
TESSERACT_CMD that points to the full tesseract.exe path.
Alternative: add the Tesseract install folder to your PATH instead of using
TESSERACT_CMD.