Skip to content

Tuzi07/Fabio-Armando

Repository files navigation

Fábio Armando

Trained models to extract key information of enemy bases in a certain game.

Demo of OCR model extracting the amount of loot available in a base:

OCR-demo.mp4

Demo of object detection of the Inferno Tower structure:

inferno-tower-detection.mp4

Install Tesseract

On Linux:

sudo apt-get install tesseract-ocr libleptonica-dev libtesseract-dev

On Windows, install Tesseract running the latest installer. It can be found here.

On Mac, run brew install tesseract.

Move eng.traineddata to the tessdata folder.

Normally located at:

  • Linux: /usr/share/tesseract-ocr/4.00/tessdata
  • Windows: C:\Program Files\Tesseract-OCR\tessdata
  • Mac: /opt/homebrew/Cellar/tesseract/5.3.3/share/tessdata/

Install ADB

On Mac, run brew install android-platform-tools.

Install Python Packages

Install the following packages using pip:

pytesseract
torch
torchvision
opencv-python
pandas
ultralytics

Config File

You must have a main.py and a screen_config.py to run Fábio. Check out the samples in sample_mains and sample_screen_configs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages