Skip to content

Solving the classic Pikachu using only image processing

Notifications You must be signed in to change notification settings

nmd2k/Image-Processing

Repository files navigation

This is our project about Solving the classic Pikachu

Install Classic Pikachu game

Run the Pokemon_setup.exe store in \Pokemon Final

  • Click 'Yes' to allow app to makes change to your devide
  • Click 'Tiến' 2 times to continue
  • Browse to the folder where you want to store the game, then click 'Cài đặt'

When it's done, it will exit automatically

Install Python3

Install Python3

Install requirements via pip
pip install numpy scipy matplotlib jupyter cv2 keyboard pyautogui

All the final codes are stored in \Pokemon Final

The \Pokemon Final\Solving Pokemons Final.ipynb notebook is our final work. In short, it contains:

  • Technique to detect the board in Pikachu game
  • Technique to detect the similar Pokemon
  • Search the way to similar Pokemon and return which one is legal
  • Render the solution

For demonstration,

  • Clone this repository
  • Install all the requirements
  • Open Pikachu game
  • Play the game
  • Control + F to full-screen
  • Access to \Pokemon Final
cd 'your_folder\Image-Processing\Pokemon Final\'
  • Run cmd/terminal
python pikachu_solver_final.py
  • Back to the game interface, and hold:
    • Space if it's Static phase
    • Left if it's force to the Left phase
    • Up if it's fall Up phase
    • Right if it's force to the Right phase
    • Down if it's fall Down phase

About

Solving the classic Pikachu using only image processing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •