Credit to PokeAPI for supplying both the images and the API this program uses to fetch information.
-
Install Tesseract-OCR.
-
Navigate to your Tesseract-OCR tessdata folder:
C:\Program Files\Tesseract-OCR\tessdata
-
Drop
tesseract-config/pokemon.traineddata
into this folder. -
Verify this worked by running:
tesseract --list-langs
-
You should see
pokemon
as an option. -
Set
OPENAI_API_KEY
as an environment variable in your terminal. -
Run the program:
python ./main.py
-
Select the area where the pokemon name and level will appear.